Skip to content

Commit

Permalink
QgsProject: make it obvious to cppcheck that class is non-copyable/no…
Browse files Browse the repository at this point in the history
…n-affectable
  • Loading branch information
rouault committed Oct 2, 2020
1 parent 863c9e3 commit b993fbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsproject.h
Expand Up @@ -2007,6 +2007,8 @@ class CORE_EXPORT QgsProject : public QObject, public QgsExpressionContextGenera
friend class QgsServer;

friend class TestQgsProject;

Q_DISABLE_COPY( QgsProject )
};

Q_DECLARE_OPERATORS_FOR_FLAGS( QgsProject::ReadFlags )
Expand Down

0 comments on commit b993fbd

Please sign in to comment.