Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix documentation warning
  • Loading branch information
nyalldawson committed Apr 27, 2023
1 parent 85074b1 commit f298fde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsthreadingutils.cpp
Expand Up @@ -15,5 +15,7 @@

#include "qgsthreadingutils.h"

#if defined(QGISDEBUG)
QSet< QString > QgsThreadingUtils::sEmittedWarnings;
QMutex QgsThreadingUtils::sEmittedWarningMutex;
#endif
2 changes: 2 additions & 0 deletions src/core/qgsthreadingutils.h
Expand Up @@ -155,7 +155,9 @@ class CORE_EXPORT QgsThreadingUtils
}
}
#if defined(QGISDEBUG)
//! Contains a set of already emitted thread related warnings, to avoid spamming with multiple duplicate warnings
static QSet< QString > sEmittedWarnings;
//! Mutex protecting sEmittedWarnings
static QMutex sEmittedWarningMutex;
#endif

Expand Down

0 comments on commit f298fde

Please sign in to comment.