fix MSC problem with def. constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
38a72d8ad1
commit
6a4cf00db3
1 changed files with 10 additions and 8 deletions
|
|
@ -26,6 +26,8 @@ static const int constant6 = 6;
|
||||||
|
|
||||||
class TestConstants {
|
class TestConstants {
|
||||||
public:
|
public:
|
||||||
|
TestConstants() : constant7(7) {}
|
||||||
|
|
||||||
/* This gets mapped to a method */
|
/* This gets mapped to a method */
|
||||||
const int constant7;
|
const int constant7;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue