From 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:19:35 +0300 Subject: Add missing const in gui directory. --- src/gui/windowmenu.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/windowmenu.h') diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h index 88778040c..cf9d701f7 100644 --- a/src/gui/windowmenu.h +++ b/src/gui/windowmenu.h @@ -87,9 +87,11 @@ class WindowMenu final : public Container, #endif protected: - void drawChildren(Graphics* graphics) override final A_NONNULL(2); + void drawChildren(Graphics *const graphics) override final + A_NONNULL(2); - void safeDrawChildren(Graphics* graphics) override final A_NONNULL(2); + void safeDrawChildren(Graphics *const graphics) override final + A_NONNULL(2); private: inline void addButton(const char *const text, -- cgit v1.2.3-70-g09d2