Fix gcd breakage.
* include/std/numeric (gcd): Use remove_cv_t, not remove_cv. From-SVN: r254785
This commit is contained in:
parent
3b26ae8285
commit
865a86a0fd
@ -1,3 +1,8 @@
|
|||||||
|
2017-11-15 Ville Voutilainen <ville.voutilainen@gmail.com>
|
||||||
|
|
||||||
|
Fix gcd breakage.
|
||||||
|
* include/std/numeric (gcd): Use remove_cv_t, not remove_cv.
|
||||||
|
|
||||||
2017-11-15 Jonathan Wakely <jwakely@redhat.com>
|
2017-11-15 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
* testsuite/27_io/filesystem/iterators/directory_iterator.cc: Leave
|
* testsuite/27_io/filesystem/iterators/directory_iterator.cc: Leave
|
||||||
|
@ -135,7 +135,7 @@ namespace __detail
|
|||||||
static_assert(is_integral_v<_Nn>, "gcd arguments are integers");
|
static_assert(is_integral_v<_Nn>, "gcd arguments are integers");
|
||||||
static_assert(!is_same_v<remove_cv_t<_Mn>, bool>,
|
static_assert(!is_same_v<remove_cv_t<_Mn>, bool>,
|
||||||
"gcd arguments are not bools");
|
"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");
|
"gcd arguments are not bools");
|
||||||
return __detail::__gcd(__m, __n);
|
return __detail::__gcd(__m, __n);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user