X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fhana%2Fexample%2Fchain.cpp;h=0e7850b74e6e0cd121c6b60c8ad8c9f343f2216b;hb=b32b81446b3b05102be0267e79203f59329c1d97;hp=74e262b149671eefd9476aca3ef7c7961ace704e;hpb=215dd7151453fae88e6f968c975b6ce309d42dcf;p=ceph.git diff --git a/ceph/src/boost/libs/hana/example/chain.cpp b/ceph/src/boost/libs/hana/example/chain.cpp index 74e262b14..0e7850b74 100644 --- a/ceph/src/boost/libs/hana/example/chain.cpp +++ b/ceph/src/boost/libs/hana/example/chain.cpp @@ -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);