summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
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: