diff --git a/doc/changelog.dox b/doc/changelog.dox index f92ef37c9..fba00eadf 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -324,6 +324,9 @@ See also: - Removed remaining @ref Platform::Sdl2Application "Platform::*Application" constructors taking @cpp nullptr @ce instead of @ref NoCreate, deprecated since 2017 +- Removed compatibility code in @ref Audio::Context where + @ref Audio::Context::current() would be usable with both @cpp . @ce and + @cpp -> @ce, deprecated since 2017 - Removed the `Shapes` library together with `DebugTools::ShapeRenderer`, which was a failed design experiment deprecated since version 2018.10 (see [mosra/magnum#148](https://github.com/mosra/magnum/issues/148)) diff --git a/src/Magnum/Audio/Context.h b/src/Magnum/Audio/Context.h index fffcc0793..38dba9c83 100644 --- a/src/Magnum/Audio/Context.h +++ b/src/Magnum/Audio/Context.h @@ -193,11 +193,6 @@ class MAGNUM_AUDIO_EXPORT Context { /** @brief Move assignment is not allowed */ Context& operator=(Context&& other) = delete; - #if defined(MAGNUM_BUILD_DEPRECATED) && !defined(DOXYGEN_GENERATING_OUTPUT) - CORRADE_DEPRECATED("Audio::Context::current() returns reference now") Context* operator->() { return this; } - CORRADE_DEPRECATED("Audio::Context::current() returns reference now") operator Context*() { return this; } - #endif - /** * @brief Complete the context setup and exit on failure * diff --git a/src/Magnum/GL/Context.h b/src/Magnum/GL/Context.h index 2af0737c4..dc063f128 100644 --- a/src/Magnum/GL/Context.h +++ b/src/Magnum/GL/Context.h @@ -424,11 +424,6 @@ class MAGNUM_GL_EXPORT Context { /** @brief Move assignment is not allowed */ Context& operator=(Context&&) = delete; - #if defined(MAGNUM_BUILD_DEPRECATED) && !defined(DOXYGEN_GENERATING_OUTPUT) - CORRADE_DEPRECATED("Context::current() returns reference now") Context* operator->() { return this; } - CORRADE_DEPRECATED("Context::current() returns reference now") operator Context*() { return this; } - #endif - /** * @brief OpenGL version *