From b268829993cee67ccb3bed22496eb954e872fc49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 25 May 2015 23:43:10 +0200 Subject: [PATCH] Removed deprecated Resource conversion operator. Use explicit conversion instead. --- src/Magnum/Resource.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/Magnum/Resource.h b/src/Magnum/Resource.h index 2d5200503..94c51a823 100644 --- a/src/Magnum/Resource.h +++ b/src/Magnum/Resource.h @@ -35,10 +35,6 @@ #include "Magnum/Magnum.h" #include "Magnum/visibility.h" -#ifdef MAGNUM_BUILD_DEPRECATED -#include -#endif - namespace Magnum { /** @@ -205,16 +201,6 @@ class Resource { return *static_cast(data); } - #ifdef MAGNUM_BUILD_DEPRECATED - /** - * @overload - * @deprecated Use the explicit @ref operator*() or @ref operator->() - * instead. Implicit conversion is no longer allowed if it might - * throw an assertion. - */ - CORRADE_DEPRECATED("use operator*() or operator->() instead") operator U&() { return **this; } - #endif - /** * @brief Access to resource data *