aboutsummaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
Diffstat (limited to 'interface')
-rw-r--r--interface/type_depository.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/type_depository.hpp b/interface/type_depository.hpp
index 9bacc9b..6abaa1b 100644
--- a/interface/type_depository.hpp
+++ b/interface/type_depository.hpp
@@ -65,6 +65,7 @@ namespace opt_utilities
destroy();
ptr=rhs.ptr;
const_cast<holder&>(rhs).ptr=0;
+ return *this;
}
public: