Skip to content
Permalink
Browse files

Don't enforce singleton behavior with Q_ASSERT

Fix #11726
  • Loading branch information
m-kuhn committed Nov 25, 2014
1 parent 4a8cb08 commit f2332258c923a43f29993c9ae3d4ef77aa4a8b8f
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/core/qgssingleton.h
@@ -40,8 +40,6 @@ class QgsSingleton

explicit QgsSingleton()
{
Q_ASSERT( sInstance == 0 );
sInstance = static_cast<T*>( this );
}

private:

0 comments on commit f233225

Please sign in to comment.
You can’t perform that action at this time.