diff --git a/src/Magnum/Math/Angle.h b/src/Magnum/Math/Angle.h index c407f1680..caae46da0 100644 --- a/src/Magnum/Math/Angle.h +++ b/src/Magnum/Math/Angle.h @@ -103,6 +103,9 @@ template class Deg: public Unit { * * Equivalent to @ref Deg(ZeroInitT). */ + /* Needs to be Math::Deg here and in all other places because older + Clang and both MSVC 2015 and 2017 treat it as a template instantce + Deg instead of a Deg template */ constexpr /*implicit*/ Deg() noexcept: Unit{ZeroInit} {} /** @brief Construct a zero angle */