Skip to content

Commit

Permalink
Don't enforce singleton behavior with Q_ASSERT
Browse files Browse the repository at this point in the history
Fix #11726
  • Loading branch information
m-kuhn committed Nov 25, 2014
1 parent 4a8cb08 commit f233225
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/qgssingleton.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ class QgsSingleton

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

private:
Expand Down

0 comments on commit f233225

Please sign in to comment.