summaryrefslogtreecommitdiff
path: root/Examples/test-suite/return_const_value.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/return_const_value.i')
-rw-r--r--Examples/test-suite/return_const_value.i1
1 files changed, 1 insertions, 0 deletions
diff --git a/Examples/test-suite/return_const_value.i b/Examples/test-suite/return_const_value.i
index 473878521..6be5760c1 100644
--- a/Examples/test-suite/return_const_value.i
+++ b/Examples/test-suite/return_const_value.i
@@ -42,6 +42,7 @@ public:
_ptr = f._ptr;
_own = f._own;
f._own = 0;
+ return *this;
}
~Foo_ptr() {