diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-06-14 18:24:48 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-06-14 18:24:48 +0000 |
| commit | 5f4e9e22f0d31216b16b31c860ca6b5a66ab91cb (patch) | |
| tree | ab03ddc2f4ac91690f2003d7b7075d7d9e230e1d /src/object | |
| parent | Merge branch 'transl_fr' of gitlab.com:gadic/inkscape (diff) | |
| parent | Run clang-tidy’s modernize-use-equals-delete pass. (diff) | |
| download | inkscape-5f4e9e22f0d31216b16b31c860ca6b5a66ab91cb.tar.gz inkscape-5f4e9e22f0d31216b16b31c860ca6b5a66ab91cb.zip | |
Merge branch 'clang-tidy-delete-pass' of gitlab.com:linkmauve/inkscape
Diffstat (limited to 'src/object')
| -rw-r--r-- | src/object/sp-conn-end.h | 4 | ||||
| -rw-r--r-- | src/object/uri-references.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/object/sp-conn-end.h b/src/object/sp-conn-end.h index 2b89a159d..46f9e36fa 100644 --- a/src/object/sp-conn-end.h +++ b/src/object/sp-conn-end.h @@ -33,8 +33,8 @@ public: private: - SPConnEnd(SPConnEnd const &); // no copy - SPConnEnd &operator=(SPConnEnd const &); // no assign + SPConnEnd(SPConnEnd const &) = delete; // no copy + SPConnEnd &operator=(SPConnEnd const &) = delete; // no assign }; void sp_conn_end_href_changed(SPObject *old_ref, SPObject *ref, diff --git a/src/object/uri-references.h b/src/object/uri-references.h index 4c57709a0..a820ba4fb 100644 --- a/src/object/uri-references.h +++ b/src/object/uri-references.h @@ -138,7 +138,7 @@ private: void _setObject(SPObject *object); void _release(SPObject *object); - void operator=(URIReference const& ref); + void operator=(URIReference const& ref) = delete; /* Private and definition-less to prevent accidental use. */ }; |
