From ca6b6328770877d6cf230fc74a2a3d203b96ad3e Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Mon, 1 Apr 2013 18:37:19 +0200 Subject: [PATCH] Add C++11 override markers. Adds the markers for gui2::twidget::demand_reduce_height. --- src/gui/widgets/container.hpp | 4 ++-- src/gui/widgets/grid.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/widgets/container.hpp b/src/gui/widgets/container.hpp index 6816f66f852..76d7e9a866b 100644 --- a/src/gui/widgets/container.hpp +++ b/src/gui/widgets/container.hpp @@ -78,8 +78,8 @@ public: /** See @ref twidget::request_reduce_height. */ virtual void request_reduce_height(const unsigned maximum_height) OVERRIDE; - /** Inherited from twidget. */ - void demand_reduce_height(const unsigned maximum_height); + /** See @ref twidget::demand_reduce_height. */ + virtual void demand_reduce_height(const unsigned maximum_height) OVERRIDE; private: /** See @ref twidget::calculate_best_size. */ diff --git a/src/gui/widgets/grid.hpp b/src/gui/widgets/grid.hpp index fd3e2852677..0cc79da677b 100644 --- a/src/gui/widgets/grid.hpp +++ b/src/gui/widgets/grid.hpp @@ -208,8 +208,8 @@ public: /** See @ref twidget::request_reduce_height. */ virtual void request_reduce_height(const unsigned maximum_height) OVERRIDE; - /** Inherited from twidget. */ - void demand_reduce_height(const unsigned maximum_height); + /** See @ref twidget::demand_reduce_height. */ + virtual void demand_reduce_height(const unsigned maximum_height) OVERRIDE; /** * Recalculates the best size.