more fixes for gcc -fstrict-aliasing -Wall
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
94e6c86d06
commit
71646dcd81
4 changed files with 8 additions and 8 deletions
|
|
@ -72,7 +72,7 @@ struct Structure {
|
|||
const std::string ConstMemberString;
|
||||
static const std::string ConstStaticMemberString;
|
||||
|
||||
Structure() : ConstMemberString("const member string"), MemberString2("member string 2") {}
|
||||
Structure() : MemberString2("member string 2"), ConstMemberString("const member string") {}
|
||||
};
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue