diff options
author | Jonathan Yap <none@none> | 2012-02-01 11:23:59 -0500 |
---|---|---|
committer | Jonathan Yap <none@none> | 2012-02-01 11:23:59 -0500 |
commit | 19ad674b107f121c02b3a353517b535ce170feb4 (patch) | |
tree | cb0d9540a6c49554e5b7deee9660d674abd6c996 | |
parent | 59dfcba33de76bfc998b9aa2121c53dff75024f7 (diff) |
STORM-1738 Make autocorrect into a proper singleton
warn-on-failure:open-license
-rw-r--r-- | indra/newview/llautocorrect.h | 3 |
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(); |