From 51f9fd3a5f765e99c0e0da8b5d01ff73a2ed719f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 25 May 2019 15:38:11 +0200 Subject: [PATCH] Math: clarifying comment for future self. Reverted all of this and then spent hours rediscovering these errors. --- src/Magnum/Math/Angle.h | 3 +++ 1 file changed, 3 insertions(+) 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 */