mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
No copy of QgsLabelSearchTree is allowed
This commit is contained in:
parent
df6d60fcc1
commit
7ac276e713
@ -32,6 +32,10 @@ Removes and deletes all the entries
|
||||
|
||||
|
||||
|
||||
private:
|
||||
//! QgsLabelSearchTree cannot be copied.
|
||||
QgsLabelSearchTree( const QgsLabelSearchTree &rh );
|
||||
//! QgsLabelSearchTree cannot be copied.
|
||||
};
|
||||
|
||||
/************************************************************************
|
||||
|
@ -70,6 +70,12 @@ class CORE_EXPORT QgsLabelSearchTree
|
||||
mutable pal::RTree<QgsLabelPosition *, double, 2, double> mSpatialIndex;
|
||||
QList< QgsLabelPosition * > mOwnedPositions;
|
||||
|
||||
#ifdef SIP_RUN
|
||||
//! QgsLabelSearchTree cannot be copied.
|
||||
QgsLabelSearchTree( const QgsLabelSearchTree &rh );
|
||||
//! QgsLabelSearchTree cannot be copied.
|
||||
QgsLabelSearchTree &operator=( const QgsLabelSearchTree &rh );
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // QGSLABELTREE_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user