From: Ville Voutilainen Date: Wed, 15 Nov 2017 20:42:58 +0000 (+0200) Subject: Fix gcd breakage. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=865a86a0fdabe9d2a31ff7f8ac78b052e2871821;p=gcc.git Fix gcd breakage. * include/std/numeric (gcd): Use remove_cv_t, not remove_cv. From-SVN: r254785 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 70113177074..70e7fb7a377 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2017-11-15 Ville Voutilainen + + Fix gcd breakage. + * include/std/numeric (gcd): Use remove_cv_t, not remove_cv. + 2017-11-15 Jonathan Wakely * testsuite/27_io/filesystem/iterators/directory_iterator.cc: Leave diff --git a/libstdc++-v3/include/std/numeric b/libstdc++-v3/include/std/numeric index a3a447d798e..8864c953233 100644 --- a/libstdc++-v3/include/std/numeric +++ b/libstdc++-v3/include/std/numeric @@ -135,7 +135,7 @@ namespace __detail static_assert(is_integral_v<_Nn>, "gcd arguments are integers"); static_assert(!is_same_v, bool>, "gcd arguments are not bools"); - static_assert(!is_same_v, bool>, + static_assert(!is_same_v, bool>, "gcd arguments are not bools"); return __detail::__gcd(__m, __n); }