]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/hana/example/tutorial/tag_dispatching.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / example / tutorial / tag_dispatching.cpp
index a06cb7e8a6b1d9ec8e4fd1b72dcfd1e047dd94e1..19ca9d156e60c2f27ffbb466033d6c9df4122221 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)
 
@@ -73,7 +73,7 @@ template <>
 struct print_impl<vector_tag> {
   template <typename vectorN>
   static void apply(std::ostream& os, vectorN xs) {
-    constexpr auto N = hana::size_c<vectorN::size>;
+    auto N = hana::size_c<vectorN::size>;
 
     os << "[";
     N.times.with_index([&](auto i) {