diff options
author | Max Horn | 2003-11-02 02:18:16 +0000 |
---|---|---|
committer | Max Horn | 2003-11-02 02:18:16 +0000 |
commit | b27a871f870df854a6db0f4530d4596483927bb1 (patch) | |
tree | f6c75300cd5dcd22b67044256e36a01f985a054d /common/singleton.h | |
parent | f2c4bbbdbfb06b5296eb3fcdcb7235292e6ac039 (diff) | |
download | scummvm-rg350-b27a871f870df854a6db0f4530d4596483927bb1.tar.gz scummvm-rg350-b27a871f870df854a6db0f4530d4596483927bb1.tar.bz2 scummvm-rg350-b27a871f870df854a6db0f4530d4596483927bb1.zip |
turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
Diffstat (limited to 'common/singleton.h')
-rw-r--r-- | common/singleton.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/singleton.h b/common/singleton.h index be40b45f42..89d912f69a 100644 --- a/common/singleton.h +++ b/common/singleton.h @@ -48,8 +48,8 @@ protected: ~Singleton<T>() { } private: - Singleton(const Singleton&); - Singleton& operator= (const Singleton&); + Singleton<T>(const Singleton<T>&); + Singleton<T>& operator= (const Singleton<T>&); }; } // End of namespace Common |