add std::vector<T*> specialization to fix #1386582
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
64d89d4b80
commit
660dcb58a5
2 changed files with 171 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ SWIG_STD_VECTOR_SPECIALIZE(MyClass, MyClass *)
|
|||
public:
|
||||
MyClassVector GetAllResources(int n) const
|
||||
{
|
||||
return MyClassVector(n);
|
||||
return MyClassVector(n, 0);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue