diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-04-15 00:07:21 +0000 |
|---|---|---|
| committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-12 18:59:52 +0000 |
| commit | e4afb390e9d056f4e7758eda7d432612fbcb167c (patch) | |
| tree | 631727cecded1c3eb5cf966ea95d30cfd5799f2b /src/ui/tool | |
| parent | Migrated object-test and sp-gradient-test to gtest (diff) | |
| download | inkscape-e4afb390e9d056f4e7758eda7d432612fbcb167c.tar.gz inkscape-e4afb390e9d056f4e7758eda7d432612fbcb167c.zip | |
Run clang-tidy’s modernize-use-equals-delete pass.
Adds a delete specifier on constructors, destructors or assignment
methods that should never be called, ensuring they actually never will.
Diffstat (limited to 'src/ui/tool')
| -rw-r--r-- | src/ui/tool/node.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/tool/node.h b/src/ui/tool/node.h index 2d4eb4a7a..231f57b7c 100644 --- a/src/ui/tool/node.h +++ b/src/ui/tool/node.h @@ -233,7 +233,7 @@ protected: private: - Node(Node const &); + Node(Node const &) = delete; void _fixNeighbors(Geom::Point const &old_pos, Geom::Point const &new_pos); void _updateAutoHandles(); @@ -436,8 +436,8 @@ public: static NodeList &get(iterator const &i); private: // no copy or assign - NodeList(NodeList const &); - void operator=(NodeList const &); + NodeList(NodeList const &) = delete; + void operator=(NodeList const &) = delete; SubpathList &_list; bool _closed; |
