summaryrefslogtreecommitdiff
path: root/indra/llcommon/lldictionary.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-28 20:08:09 -0800
committerJames Cook <james@lindenlab.com>2009-11-28 20:08:09 -0800
commit8ff96a3515daa5c05d1c519f920c12b7aa78c4da (patch)
treeba0c9ffa682bd147f08b0419953c037c2864f35c /indra/llcommon/lldictionary.h
parent3838a7dfa5340019f29c11f1f690400182c2df8d (diff)
Migrated LLUUIDs and some float constants out of headers into .cpp files
Moved some functions with llinfos into .cpp files Linker optimizations, all
Diffstat (limited to 'indra/llcommon/lldictionary.h')
-rw-r--r--indra/llcommon/lldictionary.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/indra/llcommon/lldictionary.h b/indra/llcommon/lldictionary.h
index 436b689ca6..a8a34a89a5 100644
--- a/indra/llcommon/lldictionary.h
+++ b/indra/llcommon/lldictionary.h
@@ -33,23 +33,11 @@
#define LL_LLDICTIONARY_H
#include <map>
+#include <string>
struct LLDictionaryEntry
{
- LLDictionaryEntry(const std::string &name) :
- mName(name)
- {
- mNameCapitalized = mName;
- LLStringUtil::replaceChar(mNameCapitalized, '-', ' ');
- LLStringUtil::replaceChar(mNameCapitalized, '_', ' ');
- for (U32 i=0; i < mNameCapitalized.size(); i++)
- {
- if (i == 0 || mNameCapitalized[i-1] == ' ') // don't change ordering of this statement or crash
- {
- mNameCapitalized[i] = toupper(mNameCapitalized[i]);
- }
- }
- }
+ LLDictionaryEntry(const std::string &name);
virtual ~LLDictionaryEntry() {}
const std::string mName;
std::string mNameCapitalized;