summaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
Diffstat (limited to 'Examples')
-rw-r--r--Examples/test-suite/cpp11_shared_ptr_const.i10
1 files changed, 5 insertions, 5 deletions
diff --git a/Examples/test-suite/cpp11_shared_ptr_const.i b/Examples/test-suite/cpp11_shared_ptr_const.i
index 1989e3261..0d1acdac0 100644
--- a/Examples/test-suite/cpp11_shared_ptr_const.i
+++ b/Examples/test-suite/cpp11_shared_ptr_const.i
@@ -43,11 +43,6 @@ std::vector<std::shared_ptr<const Foo> > const_foo_vec(Foo v) {
%template (FooVector) std::vector<std::shared_ptr<Foo> >;
%template (FooConstVector) std::vector<std::shared_ptr<Foo const> >;
-std::shared_ptr<Foo> foo(Foo v);
-std::shared_ptr<const Foo> const_foo(Foo v);
-std::vector<std::shared_ptr<Foo> > foo_vec(Foo v) const;
-std::vector<std::shared_ptr<const Foo> > const_foo_vec(Foo v) const;
-
class Foo
{
public:
@@ -55,3 +50,8 @@ public:
int get_m();
int m;
};
+std::shared_ptr<Foo> foo(Foo v);
+std::shared_ptr<const Foo> const_foo(Foo v);
+std::vector<std::shared_ptr<Foo> > foo_vec(Foo v) const;
+std::vector<std::shared_ptr<const Foo> > const_foo_vec(Foo v) const;
+