summaryrefslogtreecommitdiff
path: root/matlab/src/Properties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'matlab/src/Properties.cpp')
-rw-r--r--matlab/src/Properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/matlab/src/Properties.cpp b/matlab/src/Properties.cpp
index 39b76f58d81..b2bf39541e8 100644
--- a/matlab/src/Properties.cpp
+++ b/matlab/src/Properties.cpp
@@ -237,7 +237,7 @@ Ice_Properties_clone(void* self, void** r)
{
try
{
- *r = new shared_ptr<Ice::Properties>(deref<Ice::Properties>(self));
+ *r = new shared_ptr<Ice::Properties>(deref<Ice::Properties>(self)->clone());
}
catch(const std::exception& ex)
{