diff options
Diffstat (limited to 'dxr3singleton.h')
-rw-r--r-- | dxr3singleton.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/dxr3singleton.h b/dxr3singleton.h index 1e67ad1..849224d 100644 --- a/dxr3singleton.h +++ b/dxr3singleton.h @@ -25,22 +25,22 @@ // ================================== //! A singleton template. /*! - Is a nice solution to use only - one instance of a class. + Is a nice solution to use only + one instance of a class. */ template<typename T> class Singleton { - protected: - Singleton() {} - virtual ~Singleton() {} + protected: + Singleton() {} + virtual ~Singleton() {} - public: - static T& Instance() - { - static T m_Instance; - return m_Instance; - } + public: + static T& Instance() + { + static T m_Instance; + return m_Instance; + } }; #endif /*_DXR3_SINGLETON_H_*/ |