From 94dc9b1149539c7e3be18df733a972c0a66c534b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 4 Sep 2017 22:16:38 +0200 Subject: [PATCH] Platform: fix deprecation warning. --- src/Magnum/Platform/ScreenedApplication.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Platform/ScreenedApplication.h b/src/Magnum/Platform/ScreenedApplication.h index 8eaa1f8b4..20db1e827 100644 --- a/src/Magnum/Platform/ScreenedApplication.h +++ b/src/Magnum/Platform/ScreenedApplication.h @@ -194,13 +194,13 @@ template class BasicScreenedApplication: public Application, * @brief Back screen * @deprecated Use `screens().last()` instead. */ - CORRADE_DEPRECATED("use screens().back() instead") BasicScreen* backScreen() { return screens().last(); } + CORRADE_DEPRECATED("use screens().last() instead") BasicScreen* backScreen() { return screens().last(); } /** * @overload * @deprecated Use `screens().last()` instead. */ - CORRADE_DEPRECATED("use screens().back() instead") const BasicScreen* backScreen() const { return screens().last(); } + CORRADE_DEPRECATED("use screens().last() instead") const BasicScreen* backScreen() const { return screens().last(); } #endif protected: