aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/iso19111/util.cpp')
-rw-r--r--src/iso19111/util.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/iso19111/util.cpp b/src/iso19111/util.cpp
index 21d45e44..7b69f4aa 100644
--- a/src/iso19111/util.cpp
+++ b/src/iso19111/util.cpp
@@ -81,6 +81,17 @@ BaseObjectNNPtr::~BaseObjectNNPtr() = default;
// ---------------------------------------------------------------------------
+//! @cond Doxygen_Suppress
+// cppcheck-suppress operatorEqVarError
+BaseObject &BaseObject::operator=(BaseObject &&) {
+ d->self_.reset();
+ return *this;
+}
+
+//! @endcond
+
+// ---------------------------------------------------------------------------
+
/** Keep a reference to ourselves as an internal weak pointer. So that
* extractGeographicBaseObject() can later return a shared pointer on itself.
*/