From 4a64c6c591694dcd9fd7e066ea055cdb9e0a59e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 29 Apr 2015 01:14:39 +0200 Subject: [PATCH] GCC 4.5 compatibility: no bool conversion for type traits. --- src/Magnum/Math/Functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Math/Functions.h b/src/Magnum/Math/Functions.h index 12e867daa..5ed73ab85 100644 --- a/src/Magnum/Math/Functions.h +++ b/src/Magnum/Math/Functions.h @@ -95,7 +95,7 @@ Int remainder = 57%6; @endcode */ template std::pair div(Integral x, Integral y) { - static_assert(std::is_integral{}, "Math::div(): not an integral type"); + static_assert(std::is_integral::value, "Math::div(): not an integral type"); const auto result = std::div(x, y); return {result.quot, result.rem}; }