Navigation Menu

Skip to content

Commit

Permalink
QgsTemporalNavigationObject: declare deleted copy constructor and ass…
Browse files Browse the repository at this point in the history
…ignment operators as the class has pointer member variables
  • Loading branch information
rouault committed May 29, 2020
1 parent b376032 commit d22b303
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgstemporalnavigationobject.h
Expand Up @@ -303,6 +303,8 @@ class CORE_EXPORT QgsTemporalNavigationObject : public QgsTemporalController, pu

bool mCumulativeTemporalRange = false;

QgsTemporalNavigationObject( const QgsTemporalNavigationObject & ) = delete;
QgsTemporalNavigationObject &operator= ( const QgsTemporalNavigationObject & ) = delete;
};

#endif // QGSTEMPORALNAVIGATIONOBJECT_H

0 comments on commit d22b303

Please sign in to comment.