diff options
author | Max Horn | 2008-10-22 22:31:09 +0000 |
---|---|---|
committer | Max Horn | 2008-10-22 22:31:09 +0000 |
commit | a2d961a827b2b6f398102a8f593ee7a87156ec06 (patch) | |
tree | 45813031b3c1762a6e380e95ea5245248f1be9a4 | |
parent | 5252f073058ce3f60dc97b48a878a9c1080a05e8 (diff) | |
download | scummvm-rg350-a2d961a827b2b6f398102a8f593ee7a87156ec06.tar.gz scummvm-rg350-a2d961a827b2b6f398102a8f593ee7a87156ec06.tar.bz2 scummvm-rg350-a2d961a827b2b6f398102a8f593ee7a87156ec06.zip |
Made constructor of SearchManager singleton private
svn-id: r34841
-rw-r--r-- | common/archive.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/archive.h b/common/archive.h index 1f29820aea..b005090a87 100644 --- a/common/archive.h +++ b/common/archive.h @@ -283,7 +283,6 @@ public: class SearchManager : public Singleton<SearchManager>, public SearchSet { public: - SearchManager(); /** * Create and add a FSDirectory by name @@ -300,6 +299,10 @@ public: * specific dirs + current dir). */ virtual void clear(); + +private: + friend class Common::Singleton<SingletonBaseType>; + SearchManager(); }; /** Shortcut for accessing the search manager. */ |