From 443d46a6f1569e64b606c921298c4f3bf69d8dd9 Mon Sep 17 00:00:00 2001 From: Oran Juice Date: Fri, 3 Oct 2014 16:25:44 +0530 Subject: Don't show Old English as an available option --- src/mnemonics/singleton.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'src/mnemonics/singleton.h') 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::instance() to create a singleton instance - * of `YourClass`. - */ - template - 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::instance() to create a singleton instance + * of `YourClass`. + */ + template + class Singleton + { + Singleton() {} + Singleton(Singleton &s) {} + Singleton& operator=(const Singleton&) {} + public: + static T* instance() + { + static T* obj = new T; + return obj; + } + }; } -- cgit v1.2.3