summaryrefslogtreecommitdiffstats
path: root/src/selection.h
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2019-02-01 19:59:05 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2019-02-01 19:59:05 +0000
commitdb053372c3b10afd89e780ab08a63493ccc3d1a7 (patch)
tree97d7ad322270c4167de38b7194021d45405fa8d5 /src/selection.h
parentComboToolItem: Temporary workaround to display pixbuf by default (diff)
downloadinkscape-db053372c3b10afd89e780ab08a63493ccc3d1a7.tar.gz
inkscape-db053372c3b10afd89e780ab08a63493ccc3d1a7.zip
clang-tidy recent changes
Diffstat (limited to 'src/selection.h')
-rw-r--r--src/selection.h12
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. */