fix uninitialized const member SpeedClass::myColour2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5e4add70ed
commit
d3803cbe4c
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ struct SpeedClass {
|
|||
|
||||
const colour myColour2;
|
||||
speedtd1 mySpeedtd1;
|
||||
SpeedClass() : myColour2(red) { }
|
||||
};
|
||||
|
||||
SpeedClass::speed speedTest1(SpeedClass::speed s) { return s; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue