Skip to content

Commit f233225

Browse files
committedNov 25, 2014
Don't enforce singleton behavior with Q_ASSERT
Fix #11726
1 parent 4a8cb08 commit f233225

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎src/core/qgssingleton.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ class QgsSingleton
4040

4141
explicit QgsSingleton()
4242
{
43-
Q_ASSERT( sInstance == 0 );
44-
sInstance = static_cast<T*>( this );
4543
}
4644

4745
private:

0 commit comments

Comments
 (0)
Please sign in to comment.