]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/hana/example/cppcon_2014/functor.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / example / cppcon_2014 / functor.cpp
index e56b3f0d9b82b368ee93bed986e1e9dddf5d22b3..b616a5241b1715c8df2fabe29f8366b208da935f 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)
 
@@ -15,7 +15,7 @@ using namespace cppcon;
 int main() {
     // transform
     {
-        auto m = matrix(
+        BOOST_HANA_CONSTEXPR_LAMBDA auto m = matrix(
             row(1,              hana::int_c<2>, 3),
             row(hana::int_c<4>, 5,              6),
             row(7,              8,              hana::int_c<9>)