diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-06-07 10:31:50 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-06-07 10:31:50 -0400 |
commit | b1e9c9bab085c55bab217a641716a40b8d44ed9e (patch) | |
tree | 1f66e51960d9e96c49030fb61f7547c8e95cc244 /indra/llcommon | |
parent | 82f8be5ca32d60704819b26f0323351d4bbb9b04 (diff) | |
parent | aaf296c2cec420d6f1b3623e1413e71b00cf3966 (diff) |
automated merge
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llstring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h index ad8f8632a2..8071c8aa2d 100644 --- a/indra/llcommon/llstring.h +++ b/indra/llcommon/llstring.h @@ -249,7 +249,7 @@ public: ///////////////////////////////////////////////////////////////////////////////////////// // Static Utility functions that operate on std::strings - static std::basic_string<T> null; + static const std::basic_string<T> null; typedef std::map<LLFormatMapString, LLFormatMapString> format_map_t; LL_COMMON_API static void getTokens(const std::basic_string<T>& instr, std::vector<std::basic_string<T> >& tokens, const std::basic_string<T>& delims); @@ -371,7 +371,7 @@ private: LL_COMMON_API static size_type getSubstitution(const std::basic_string<T>& instr, size_type& start, std::vector<std::basic_string<T> >& tokens); }; -template<class T> std::basic_string<T> LLStringUtilBase<T>::null; +template<class T> const std::basic_string<T> LLStringUtilBase<T>::null; template<class T> std::string LLStringUtilBase<T>::sLocale; typedef LLStringUtilBase<char> LLStringUtil; |