Fixed error in Coord.hh that meant it would always use int
authorMartin Read <martin@blackswordsonics.com>
Thu, 8 Mar 2012 21:36:14 +0000 (21:36 +0000)
committerMartin Read <martin@blackswordsonics.com>
Thu, 8 Mar 2012 21:36:14 +0000 (21:36 +0000)
include/libmormegil/Coord.hh

index f2045db..6b647b3 100644 (file)
@@ -28,8 +28,8 @@ namespace libmormegil
     {
         typedef basic_offset<T>& ref;
         typedef const basic_offset<T>& const_ref;
-        int y;
-        int x;
+        T y;
+        T x;
         ref operator +=(const_ref right)
         {
             y += right.y;