]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/hana/test/_include/laws/monad.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / test / _include / laws / monad.hpp
index 9077a250b12a155e9dc7bfdc94ea740046c56cae..25a23d4175303b6369f65156deb5a97f1ce20237 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)
 
@@ -38,7 +38,7 @@ namespace boost { namespace hana { namespace test {
         template <typename Xs, typename XXs>
         TestMonad(Xs xs, XXs xxs) {
             hana::for_each(xs, [](auto m) {
-                static_assert(Monad<decltype(m)>::value, "");
+                static_assert(Monad<decltype(m)>{}, "");
 
                 auto f = hana::compose(lift<M>, test::_injection<0>{});
                 auto g = hana::compose(lift<M>, test::_injection<1>{});