summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2012-02-01 11:23:59 -0500
committerJonathan Yap <none@none>2012-02-01 11:23:59 -0500
commit19ad674b107f121c02b3a353517b535ce170feb4 (patch)
treecb0d9540a6c49554e5b7deee9660d674abd6c996
parent59dfcba33de76bfc998b9aa2121c53dff75024f7 (diff)
STORM-1738 Make autocorrect into a proper singleton
warn-on-failure:open-license
-rw-r--r--indra/newview/llautocorrect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llautocorrect.h b/indra/newview/llautocorrect.h
index a5e8c5396e..82cf75f3cf 100644
--- a/indra/newview/llautocorrect.h
+++ b/indra/newview/llautocorrect.h
@@ -22,7 +22,7 @@
#include "lllineeditor.h"
-class AutoCorrect
+class AutoCorrect : public LLSingleton<AutoCorrect>
{
AutoCorrect();
~AutoCorrect();
@@ -50,6 +50,7 @@ public:
void loadFromDisk();
private:
+ friend class LLSingleton<AutoCorrect>;
void saveToDisk(LLSD newSettings);
LLSD getExampleLLSD();
std::string getFileName();