From 838eb180fce91196a3ec0986de74ac15901d0356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 21 Jun 2015 03:02:17 +0200 Subject: [PATCH] Fix compilation on Clang. --- src/Magnum/Math/Angle.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Magnum/Math/Angle.h b/src/Magnum/Math/Angle.h index bfaaeaae2..46459023d 100644 --- a/src/Magnum/Math/Angle.h +++ b/src/Magnum/Math/Angle.h @@ -124,10 +124,10 @@ std::sin(Float(Rad(b)); // required explicit conversion hints to user template class Deg: public Unit { public: /** @brief Construct zero angle */ - constexpr /*implicit*/ Deg(ZeroInitT = ZeroInit): Unit{ZeroInit} {} + constexpr /*implicit*/ Deg(ZeroInitT = ZeroInit): Unit{ZeroInit} {} /** @brief Construct without initializing the contents */ - explicit Deg(NoInitT): Unit{NoInit} {} + explicit Deg(NoInitT): Unit{NoInit} {} /** @brief Explicit constructor from unitless type */ constexpr explicit Deg(T value): Unit(value) {} @@ -185,10 +185,10 @@ See @ref Deg for more information. template class Rad: public Unit { public: /** @brief Default constructor */ - constexpr /*implicit*/ Rad(ZeroInitT = ZeroInit): Unit{ZeroInit} {} + constexpr /*implicit*/ Rad(ZeroInitT = ZeroInit): Unit{ZeroInit} {} /** @brief Construct without initializing the contents */ - explicit Rad(NoInitT): Unit{NoInit} {} + explicit Rad(NoInitT): Unit{NoInit} {} /** @brief Construct from unitless type */ constexpr explicit Rad(T value): Unit(value) {}