]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/hana/test/_include/laws/ring.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / test / _include / laws / ring.hpp
index c8e08595b7eed67b35d9118f73dbf3f450878dde..cb33e6198c9f429f4966acfbb829328a96d30075 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright Louis Dionne 2013-2016
+// Copyright Louis Dionne 2013-2017
 // Distributed under the Boost Software License, Version 1.0.
 // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
 
@@ -36,7 +36,7 @@ namespace boost { namespace hana { namespace test {
         template <typename Xs>
         TestRing(Xs xs) {
             hana::for_each(xs, hana::capture(xs)([](auto xs, auto x) {
-                static_assert(Ring<decltype(x)>::value, "");
+                static_assert(Ring<decltype(x)>{}, "");
 
                 foreach2(xs, hana::capture(x)([](auto x, auto y, auto z) {
                     // associativity