Commit 865a86a0 by Ville Voutilainen Committed by Ville Voutilainen

Fix gcd breakage.

* include/std/numeric (gcd): Use remove_cv_t, not remove_cv.

From-SVN: r254785
parent 3b26ae82
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>
* 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_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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment