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/attribute-rel-svg.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/attribute-rel-svg.h')
| -rw-r--r-- | src/attribute-rel-svg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/attribute-rel-svg.h b/src/attribute-rel-svg.h index c0a9cd215..1ec2b50e3 100644 --- a/src/attribute-rel-svg.h +++ b/src/attribute-rel-svg.h @@ -27,8 +27,8 @@ public: private: SPAttributeRelSVG(); - SPAttributeRelSVG(const SPAttributeRelSVG&); - SPAttributeRelSVG& operator= (const SPAttributeRelSVG&); + SPAttributeRelSVG(const SPAttributeRelSVG&) = delete; + SPAttributeRelSVG& operator= (const SPAttributeRelSVG&) = delete; private: static SPAttributeRelSVG *instance; |
