summaryrefslogtreecommitdiff
path: root/indra/llxml/llcontrol.h
diff options
context:
space:
mode:
authorpavelkproductengine <pavelkproductengine@lindenlab.com>2016-05-24 18:37:20 +0300
committerpavelkproductengine <pavelkproductengine@lindenlab.com>2016-05-24 18:37:20 +0300
commit4d9b3cd725e053e10016a39313080c9c6c6a71c7 (patch)
treea96f24fa3ab0ba0a787a49361619570e5e68ec62 /indra/llxml/llcontrol.h
parentaddbfaf1c774011f3e55a1106f0b83153b7b8568 (diff)
parentc2ef3b4c7186dbbd95b16520f281b7d58364fb52 (diff)
Merge VOB with release 4.0.6
Diffstat (limited to 'indra/llxml/llcontrol.h')
-rw-r--r--[-rwxr-xr-x]indra/llxml/llcontrol.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llxml/llcontrol.h b/indra/llxml/llcontrol.h
index 04575d81e0..77065dcf8d 100755..100644
--- a/indra/llxml/llcontrol.h
+++ b/indra/llxml/llcontrol.h
@@ -70,6 +70,7 @@ class LLVector3d;
class LLColor4;
class LLColor3;
+// if this is changed, also modify mTypeString in llcontrol.h
typedef enum e_control_type
{
TYPE_U32 = 0,
@@ -190,11 +191,11 @@ class LLControlGroup : public LLInstanceTracker<LLControlGroup, std::string>
protected:
typedef std::map<std::string, LLControlVariablePtr > ctrl_name_table_t;
ctrl_name_table_t mNameTable;
- std::string mTypeString[TYPE_COUNT];
+ static const std::string mTypeString[TYPE_COUNT];
public:
- eControlType typeStringToEnum(const std::string& typestr);
- std::string typeEnumToString(eControlType typeenum);
+ static eControlType typeStringToEnum(const std::string& typestr);
+ static std::string typeEnumToString(eControlType typeenum);
LLControlGroup(const std::string& name);
~LLControlGroup();