diff options
Diffstat (limited to 'src/selection.h')
| -rw-r--r-- | src/selection.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/selection.h b/src/selection.h index 04c976459..f6d09346c 100644 --- a/src/selection.h +++ b/src/selection.h @@ -70,6 +70,11 @@ public: Selection(LayerModel *layers, SPDesktop *desktop); ~Selection() override; + /** no copy. */ + Selection(Selection const &) = delete; + /** no assign. */ + void operator=(Selection const &) = delete; + /** * Returns the layer model the selection is bound to (works in console or GUI mode) * @@ -78,8 +83,6 @@ public: */ LayerModel *layers() { return _layers; } - - /** * Returns active layer for selection (currentLayer or its parent). * @@ -207,11 +210,6 @@ protected: void _releaseSignals(SPObject* object) override; private: - /** no copy. */ - Selection(Selection const &) = delete; - /** no assign. */ - void operator=(Selection const &) = delete; - /** Issues modification notification signals. */ static int _emit_modified(Selection *selection); /** Schedules an item modification signal to be sent. */ |
