]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/hana/test/_include/laws/comonad.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / test / _include / laws / comonad.hpp
index 6cd8dbc3cc248ab6fd517d89819ac36856db062c..82ef7b32db68f6629b29ba151d884d746ecb84a4 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)
 
@@ -26,7 +26,7 @@ namespace boost { namespace hana { namespace test {
         template <typename Ws>
         TestComonad(Ws ws) {
             hana::for_each(ws, [](auto w) {
-                static_assert(Comonad<decltype(w)>::value, "");
+                static_assert(Comonad<decltype(w)>{}, "");
 
                 // extract(duplicate(w)) == w
                 BOOST_HANA_CHECK(hana::equal(