trunk/branch integration: fix warning

This commit is contained in:
Marian Krivos
2011-08-22 17:55:37 +00:00
parent 9cdac43cca
commit aa5edec47a

View File

@@ -56,17 +56,19 @@ class SingletonHolder
/// when the application that created them terminates. /// when the application that created them terminates.
{ {
public: public:
SingletonHolder() SingletonHolder():
_pS(0)
/// Creates the SingletonHolder. /// Creates the SingletonHolder.
{ {
_pS = 0;
} }
~SingletonHolder() ~SingletonHolder()
/// Destroys the SingletonHolder and the singleton /// Destroys the SingletonHolder and the singleton
/// object that it holds. /// object that it holds.
{ {
delete _pS; delete _pS;
} }
S* get() S* get()
/// Returns a pointer to the singleton object /// Returns a pointer to the singleton object
/// hold by the SingletonHolder. The first call /// hold by the SingletonHolder. The first call