Browse Source

Properly reference operator.

This wasn't actually Doxygen's fault.
pull/77/head
Vladimír Vondruš 12 years ago
parent
commit
bec87b9d32
  1. 8
      src/Magnum/Resource.h

8
src/Magnum/Resource.h

@ -201,10 +201,10 @@ class Resource {
#ifdef MAGNUM_BUILD_DEPRECATED #ifdef MAGNUM_BUILD_DEPRECATED
/** /**
* @overload * @overload
* @deprecated Use the explicit @ref operator*() or operator->() * @deprecated Use the explicit @ref Magnum::Resource::operator*() "operator*()"
* instead. Implicit conversion is no longer allowed if it might * or @ref Magnum::Resource::operator->() "operator->()" instead.
* throw an assertion. * Implicit conversion is no longer allowed if it might throw an
* @todoc Explicit reference when Doxygen can handle operator->() * assertion.
*/ */
CORRADE_DEPRECATED("use operator*() or operator->() instead") operator U&() { return **this; } CORRADE_DEPRECATED("use operator*() or operator->() instead") operator U&() { return **this; }
#endif #endif

Loading…
Cancel
Save