aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stable/sharedcore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stable/sharedcore.h b/src/stable/sharedcore.h
index 9108294..e68cf21 100644
--- a/src/stable/sharedcore.h
+++ b/src/stable/sharedcore.h
@@ -113,6 +113,11 @@ namespace Bu
113 return dynamic_cast<const _SharedType &>(rOther).core == core; 113 return dynamic_cast<const _SharedType &>(rOther).core == core;
114 } 114 }
115 115
116 void unshare()
117 {
118 _hardCopy();
119 }
120
116 protected: 121 protected:
117 Core *core; 122 Core *core;
118 void _hardCopy() 123 void _hardCopy()