Not linking fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8507c7e8b9
commit
13de06ba39
1 changed files with 3 additions and 3 deletions
|
|
@ -3,12 +3,12 @@
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
template <typename T> struct X {
|
template <typename T> struct X {
|
||||||
X(int);
|
X(int) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T> struct Y {
|
template <typename T> struct Y {
|
||||||
Y();
|
Y() {}
|
||||||
int spam(T t = T(0));
|
int spam(T t = T(0)) { return 0; }
|
||||||
};
|
};
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue