avoid g++ warning about the members being initialized out of order
Author: Hans Ulrich Niedermann <hun@n-dimensional.de> Committer: Tim Moore <timoore@redhat.com>
This commit is contained in:
parent
1c0c7d82bd
commit
a91c194b98
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ public:
|
|||
fgText(float x, float y, const string& c, bool digits=false): x(x), y(y), msg( c), digit( digits) {};
|
||||
|
||||
fgText( const fgText & image )
|
||||
: x(image.x), y(image.y),digit(image.digit), msg( image.msg) { }
|
||||
: x(image.x), y(image.y), msg(image.msg), digit(image.digit) { }
|
||||
|
||||
fgText& operator = ( const fgText & image ) {
|
||||
x = image.x; y = image.y; msg= image.msg; digit = image.digit;
|
||||
|
|
Loading…
Reference in a new issue