|
|
|
|
@ -35,10 +35,6 @@
|
|
|
|
|
#include "Magnum/Magnum.h" |
|
|
|
|
#include "Magnum/visibility.h" |
|
|
|
|
|
|
|
|
|
#ifdef MAGNUM_BUILD_DEPRECATED |
|
|
|
|
#include <Corrade/Utility/Macros.h> |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
namespace Magnum { |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@ -205,16 +201,6 @@ class Resource {
|
|
|
|
|
return *static_cast<U*>(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 |
|
|
|
|
* |
|
|
|
|
|