fix compilation warnings for vc++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fa72166164
commit
f38b4df07d
3 changed files with 8 additions and 8 deletions
|
|
@ -27,7 +27,7 @@ namespace Space {
|
|||
void templateXYZ(XYZ<T> i) {}
|
||||
operator T() { return m_t; }
|
||||
operator NotXYZ<T>() const { return m_notxyz; }
|
||||
operator XYZ<T>() const { XYZ<T> xyz; return xyz; }
|
||||
operator XYZ<T>() const { XYZ<T> xyz = XYZ<T>(); return xyz; }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue