]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/hana/example/chain.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / example / chain.cpp
index 74e262b149671eefd9476aca3ef7c7961ace704e..0e7850b74e6e0cd121c6b60c8ad8c9f343f2216b 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)
 
@@ -28,7 +28,7 @@ struct Person {
 };
 
 int main() {
-    Person john{30};
+    constexpr Person john{30};
 
     // Can't dereference a non-pointer.
     BOOST_HANA_CONSTANT_CHECK(f(john) == hana::nothing);