On Thu, Mar 22, 2007 at 04:56:36PM +0000, Bastiaan Jacques wrote: > +std::string > +as_object::asPropName(std::string name)
I used a similar thing in another file, callign it 'lower_if_needed' My version took a std::string *reference* and returned void, changing the string in place. Note that whatever you choose to do, taking the string by value as you are will copy the string. Use const reference if you won't change, or non-const reference if you'll eventually change. --strk; _______________________________________________ Gnash-commit mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-commit
