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.
{
public:
SingletonHolder()
SingletonHolder():
_pS(0)
/// Creates the SingletonHolder.
{
_pS = 0;
}
~SingletonHolder()
/// Destroys the SingletonHolder and the singleton
/// object that it holds.
{
delete _pS;
}
S* get()
/// Returns a pointer to the singleton object
/// hold by the SingletonHolder. The first call