changeset 237 | 7fb8b67d2c5e |
parent 207 | 9910d5a5be7f |
child 240 | 4a1d2e642552 |
1.1 --- a/src/work/athos/xy/xy.h Mon Mar 22 17:27:20 2004 +0000 1.2 +++ b/src/work/athos/xy/xy.h Tue Mar 23 11:12:48 2004 +0000 1.3 @@ -17,10 +17,10 @@ 1.4 public: 1.5 1.6 ///Default constructor: both coordinates become 0 1.7 - xy() { _x=_y=0; } 1.8 + xy() : _x(0), _y(0 ){ /*_x=_y=0;*/ } 1.9 1.10 ///Constructing from coordinates 1.11 - xy(T a, T b) { _x=a; _y=b; } 1.12 + xy(T a, T b) : _x(a), _x(b) { /*_x=a; _y=b;*/ } 1.13 1.14 ///Gives back the x coordinate 1.15 T x(){