diff options
author | Oran Juice <oranjuices@hotmail.com> | 2014-10-03 16:25:44 +0530 |
---|---|---|
committer | Oran Juice <oranjuices@hotmail.com> | 2014-10-03 16:25:44 +0530 |
commit | 443d46a6f1569e64b606c921298c4f3bf69d8dd9 (patch) | |
tree | eef49f9768c9c4b6b89d1721b1e39cbb8de1ff90 /src/mnemonics/singleton.h | |
parent | Had missed const and had to use .at instead of [] (diff) | |
download | monero-443d46a6f1569e64b606c921298c4f3bf69d8dd9.tar.xz |
Don't show Old English as an available option
Diffstat (limited to 'src/mnemonics/singleton.h')
-rw-r--r-- | src/mnemonics/singleton.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/mnemonics/singleton.h b/src/mnemonics/singleton.h index 5a86c2e7c..74e121e4e 100644 --- a/src/mnemonics/singleton.h +++ b/src/mnemonics/singleton.h @@ -38,25 +38,25 @@ */
namespace Language
{
- /*!
- * \class Singleton
- *
- * \brief Single helper class.
- *
- * Do Language::Singleton<YourClass>::instance() to create a singleton instance
- * of `YourClass`.
- */
- template <class T>
- class Singleton
- {
- Singleton() {}
- Singleton(Singleton &s) {}
- Singleton& operator=(const Singleton&) {}
- public:
- static T* instance()
- {
- static T* obj = new T;
- return obj;
- }
- };
+ /*!
+ * \class Singleton
+ *
+ * \brief Single helper class.
+ *
+ * Do Language::Singleton<YourClass>::instance() to create a singleton instance
+ * of `YourClass`.
+ */
+ template <class T>
+ class Singleton
+ {
+ Singleton() {}
+ Singleton(Singleton &s) {}
+ Singleton& operator=(const Singleton&) {}
+ public:
+ static T* instance()
+ {
+ static T* obj = new T;
+ return obj;
+ }
+ };
}
|