diff options
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. */ }; |
