projects
/
libmormegil
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcdb7db
)
Fixed error in Coord.hh that meant it would always use int
author
Martin Read
<martin@blackswordsonics.com>
Thu, 8 Mar 2012 21:36:14 +0000
(21:36 +0000)
committer
Martin Read
<martin@blackswordsonics.com>
Thu, 8 Mar 2012 21:36:14 +0000
(21:36 +0000)
include/libmormegil/Coord.hh
patch
|
blob
|
history
diff --git
a/include/libmormegil/Coord.hh
b/include/libmormegil/Coord.hh
index
f2045db
..
6b647b3
100644
(file)
--- a/
include/libmormegil/Coord.hh
+++ b/
include/libmormegil/Coord.hh
@@
-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;