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/widgets/layouthelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/layouthelper.h') diff --git a/src/gui/widgets/layouthelper.h b/src/gui/widgets/layouthelper.h index 2d51ab01d..31fd4dd1e 100644 --- a/src/gui/widgets/layouthelper.h +++ b/src/gui/widgets/layouthelper.h @@ -53,7 +53,7 @@ class LayoutHelper final : public WidgetListener /** * Gets the layout handler. */ - const Layout &getLayout() const A_WARN_UNUSED; + const Layout &getLayout() const A_WARN_UNUSED A_CONST; /** * Computes the position of the widgets according to the current -- cgit v1.2.3-70-g09d2