summaryrefslogtreecommitdiff
path: root/cpp/src/slice2matlab/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2matlab/Main.cpp')
-rw-r--r--cpp/src/slice2matlab/Main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2matlab/Main.cpp b/cpp/src/slice2matlab/Main.cpp
index 353556bc814..d5db1c23fc9 100644
--- a/cpp/src/slice2matlab/Main.cpp
+++ b/cpp/src/slice2matlab/Main.cpp
@@ -1838,7 +1838,7 @@ CodeVisitor::visitClassDefStart(const ClassDefPtr& p)
if(!convertMembers.empty())
{
- out << nl << "function r = iceDelayPostUnmarshal(obj)";
+ out << nl << "function r = iceDelayPostUnmarshal(~)";
out.inc();
out << nl << "r = true;";
out.dec();
@@ -2841,7 +2841,7 @@ CodeVisitor::visitExceptionStart(const ExceptionPtr& p)
out.dec();
out << nl << "end";
- out << nl << "function id = ice_id(obj)";
+ out << nl << "function id = ice_id(~)";
out.inc();
out << nl << "id = '" << scoped << "';";
out.dec();