diff --git a/doc/changelog.dox b/doc/changelog.dox index d7034bc10..e07168335 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -170,6 +170,9 @@ See also: - Removed @ref Platform application constructors taking @cpp nullptr @ce, deprecated in June 2016 for windowless apps and in March 2017 for windowed apps. Use constructors taking the @ref NoCreate tag instead. +- Removed availability of @ref Math::Color3 and @ref Math::Color4 literals in + the root namespace, deprecated since April 2016. Explicitly call + @cpp using namespace Math::Literals; @ce instead. @section changelog-2018-10 2018.10 diff --git a/src/Magnum/Magnum.h b/src/Magnum/Magnum.h index 4ae2030ce..b9335ceed 100644 --- a/src/Magnum/Magnum.h +++ b/src/Magnum/Magnum.h @@ -51,15 +51,6 @@ namespace Magnum { namespace Math { #ifndef DOXYGEN_GENERATING_OUTPUT template struct Constants; - - #ifdef MAGNUM_BUILD_DEPRECATED - namespace Literals { - constexpr Rad operator "" _rad(long double); - constexpr Deg operator "" _deg(long double); - constexpr Rad operator "" _radf(long double); - constexpr Deg operator "" _degf(long double); - } - #endif #endif } @@ -710,13 +701,6 @@ typedef Math::Frustum Frustumd; /*@}*/ -#ifdef MAGNUM_BUILD_DEPRECATED -using Math::Literals::operator "" _deg; -using Math::Literals::operator "" _rad; -using Math::Literals::operator "" _degf; -using Math::Literals::operator "" _radf; -#endif - #ifndef DOXYGEN_GENERATING_OUTPUT template class Array; template class Array1D;