Fix gcd breakage.
authorVille Voutilainen <ville.voutilainen@gmail.com>
Wed, 15 Nov 2017 20:42:58 +0000 (22:42 +0200)
committerVille Voutilainen <ville@gcc.gnu.org>
Wed, 15 Nov 2017 20:42:58 +0000 (22:42 +0200)
* include/std/numeric (gcd): Use remove_cv_t, not remove_cv.

From-SVN: r254785

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/numeric

index 701131770746560e8f77e8f365249d031c300a00..70e7fb7a37788855ba2aa4f542c2adc64c6bf7b7 100644 (file)
@@ -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>
 
        * testsuite/27_io/filesystem/iterators/directory_iterator.cc: Leave
index a3a447d798ec6928189bcffd3ccf6be71b28ccb1..8864c9532336cb3b69b39158d3af21a9d08c4943 100644 (file)
@@ -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);
     }