summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-15 20:21:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-15 20:21:16 +0300
commit516d635b6cbce6e38cc3e4f227f6ab0b073925b9 (patch)
tree61f4e9eab9bae255375e94c29d4663b5d8f217c5 /src/text.h
parent0e7b238a3794a9d2bb8dbf66adfe65bf6f1f4046 (diff)
downloadplus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.gz
plus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.bz2
plus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.xz
plus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.zip
Fix code style.
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/text.h b/src/text.h
index e390a9547..660a2df3b 100644
--- a/src/text.h
+++ b/src/text.h
@@ -76,12 +76,12 @@ class Text notfinal
virtual void draw(Graphics *const graphics,
const int xOff, const int yOff) A_NONNULL(2);
- int getWidth() A_WARN_UNUSED;
+// int getWidth() A_WARN_UNUSED;
- int getX() A_WARN_UNUSED
+ int getX() const A_WARN_UNUSED
{ return mX; }
- int getY() A_WARN_UNUSED
+ int getY() const A_WARN_UNUSED
{ return mY; }
private: