Don't enforce singleton behavior with Q_ASSERT

Fix #11726
This commit is contained in:
Matthias Kuhn 2014-11-25 14:30:14 +01:00
parent 4a8cb08c1d
commit f2332258c9

View File

@ -40,8 +40,6 @@ class QgsSingleton
explicit QgsSingleton()
{
Q_ASSERT( sInstance == 0 );
sInstance = static_cast<T*>( this );
}
private: