type correction

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-01-10 23:48:55 +00:00
commit c3c45d9931

View file

@ -20,7 +20,7 @@ class Foo_ptr {
mutable bool _own;
public:
Foo_ptr(Foo *p, int own = false): _ptr(p), _own(own) {}
Foo_ptr(Foo *p, bool own = false): _ptr(p), _own(own) {}
static Foo_ptr getPtr() {
return Foo_ptr(new Foo(17), true);
}