Browse code

constructor order

Tom Sherman authored on 11/06/2018 16:54:17
Showing1 changed files

... ...
@@ -30,7 +30,7 @@ public:
30 30
     float mass;
31 31
 
32 32
     Atom(uint64_t p, float m)
33
-        : pos(p), mass(m), leftNdx(0), rightNdx(0)
33
+        : leftNdx(0), rightNdx(0), pos(p), mass(m)
34 34
     {}
35 35
 
36 36
     bool operator==(const Atom &other) const