diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2013-07-17 08:23:42 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2013-07-17 08:23:42 -0400 |
commit | 2b3c1bd40d11b02cb097cb3dba7a661a4b528a91 (patch) | |
tree | ab576805a69969e314e988ad90314f6888aeea28 /indra/newview/tests/llagentaccess_test.cpp | |
parent | cfd17448be0c464c1ca64b1e8f3260aa4e98b0ca (diff) |
CHOP-962: Make LLControlGroup::declare* return LLControlVariable*
LLControlGroup::declareControl(), declareString() etc. etc. all used to return
BOOL -- which no one ever examines because it unconditionally returned TRUE.
Make it return the (possibly new) LLControlVariable* instead.
Diffstat (limited to 'indra/newview/tests/llagentaccess_test.cpp')
-rwxr-xr-x | indra/newview/tests/llagentaccess_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/tests/llagentaccess_test.cpp b/indra/newview/tests/llagentaccess_test.cpp index 3ba25f3c10..1f379ead32 100755 --- a/indra/newview/tests/llagentaccess_test.cpp +++ b/indra/newview/tests/llagentaccess_test.cpp @@ -49,10 +49,10 @@ LLControlGroup::~LLControlGroup() } // Implementation of just the LLControlGroup methods we requre -BOOL LLControlGroup::declareU32(const std::string& name, U32 initial_val, const std::string& comment, BOOL persist) +LLControlVariable* LLControlGroup::declareU32(const std::string& name, U32 initial_val, const std::string& comment, BOOL persist) { test_preferred_maturity = initial_val; - return true; + return NULL; } void LLControlGroup::setU32(const std::string& name, U32 val) |