From b226f23946987a649fb50bc6d9df2dd8afa7ade1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Dec 2015 01:47:57 +0300 Subject: Add const attribute to gui classes. --- src/gui/fonts/font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/fonts') diff --git a/src/gui/fonts/font.h b/src/gui/fonts/font.h index 0188586b3..62f32800f 100644 --- a/src/gui/fonts/font.h +++ b/src/gui/fonts/font.h @@ -101,7 +101,7 @@ class Font final int getHeight() const A_WARN_UNUSED; - const TextChunkList *getCache() const A_WARN_UNUSED; + const TextChunkList *getCache() const A_CONST A_WARN_UNUSED; /** * @see Font::drawString -- cgit v1.2.3-70-g09d2