Re: [opensource-dev] A CALL FOR HHHEEELLLPPP

2011-03-16 Thread Monty Brandenberg
On 3/16/2011 6:04 AM, Thickbrick Sleaford wrote: > /* rant, please ignore... */ Hahaha! Agreed. We have varying standards internally, as well. Honestly, I wouldn't mind something like a "Weekly WTF?" where non-Linden devs pick out a piece of bad code and grill us over it. It may not help but i

Re: [opensource-dev] A CALL FOR HHHEEELLLPPP

2011-03-16 Thread Thickbrick Sleaford
That error message is basically saying "you can't assign to a const variable." Line 21 in your paste is reusing file_name, which is one of the method's arguments, and is const. You need a local variable which isn't const there. But, I don't think this makes sense otherwise. In what cases will fr

[opensource-dev] A CALL FOR HHHEEELLLPPP

2011-03-15 Thread WolfPup Lowenhar
First References: Jira : https://jira.secondlife.com/browse/STORM-941 Code Snippet : http://codepad.org/9cVTMJTD Now the problem: When I compile the code I get error C2678: binary '=' : no operator found which takes a left-hand operand of type 'const std::string' (or there is no acceptabl