Skip to content

Commit

Permalink
Correct ordering of declarations in testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
wsfulton committed Apr 20, 2017
1 parent 1a6f8d1 commit 7a343a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Examples/test-suite/cpp11_shared_ptr_const.i
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ 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:
Foo(int i);
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;

0 comments on commit 7a343a1

Please sign in to comment.