diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2017-11-15 22:42:58 +0200 |
---|---|---|
committer | Ville Voutilainen <ville@gcc.gnu.org> | 2017-11-15 22:42:58 +0200 |
commit | 865a86a0fdabe9d2a31ff7f8ac78b052e2871821 (patch) | |
tree | 6d1d2cdfe00788f88ef7f5398adc6951dc14c79e /libstdc++-v3/include/std/numeric | |
parent | 3b26ae8285aac8ad875e6cb8836d47a30fb7f2ce (diff) | |
download | gcc-865a86a0fdabe9d2a31ff7f8ac78b052e2871821.zip gcc-865a86a0fdabe9d2a31ff7f8ac78b052e2871821.tar.gz gcc-865a86a0fdabe9d2a31ff7f8ac78b052e2871821.tar.bz2 |
Fix gcd breakage.
* include/std/numeric (gcd): Use remove_cv_t, not remove_cv.
From-SVN: r254785
Diffstat (limited to 'libstdc++-v3/include/std/numeric')
-rw-r--r-- | libstdc++-v3/include/std/numeric | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/numeric b/libstdc++-v3/include/std/numeric index a3a447d..8864c95 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<remove_cv_t<_Mn>, bool>, "gcd arguments are not bools"); - static_assert(!is_same_v<remove_cv<_Nn>, bool>, + static_assert(!is_same_v<remove_cv_t<_Nn>, bool>, "gcd arguments are not bools"); return __detail::__gcd(__m, __n); } |