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/live_effects/lpe-perspective_path.h | |
| 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/live_effects/lpe-perspective_path.h')
| -rw-r--r-- | src/live_effects/lpe-perspective_path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-perspective_path.h b/src/live_effects/lpe-perspective_path.h index 87ee453ff..d55d7fe8c 100644 --- a/src/live_effects/lpe-perspective_path.h +++ b/src/live_effects/lpe-perspective_path.h @@ -54,8 +54,8 @@ private: // there are all kinds of parameters. Check the /live_effects/parameter directory which types exist! Geom::Point orig; - LPEPerspectivePath(const LPEPerspectivePath&); - LPEPerspectivePath& operator=(const LPEPerspectivePath&); + LPEPerspectivePath(const LPEPerspectivePath&) = delete; + LPEPerspectivePath& operator=(const LPEPerspectivePath&) = delete; std::vector<Geom::Point> handles; double tmat[3][4]; |
