]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/hana/fwd/replace.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / hana / fwd / replace.hpp
index 6edb858a7fd95ca5e153e9c1d0c540052f896556..dae7c306944d7b64c7214bcaee588404a38377fa 100644 (file)
@@ -14,7 +14,7 @@ Distributed under the Boost Software License, Version 1.0.
 #include <boost/hana/core/when.hpp>
 
 
-BOOST_HANA_NAMESPACE_BEGIN
+namespace boost { namespace hana {
     //! Replace all the elements of a structure that compare equal
     //! to some `value` with some new fixed value.
     //! @ingroup group-Functor
@@ -57,8 +57,8 @@ BOOST_HANA_NAMESPACE_BEGIN
         constexpr auto operator()(Xs&& xs, OldVal&& oldval, NewVal&& newval) const;
     };
 
-    constexpr replace_t replace{};
+    BOOST_HANA_INLINE_VARIABLE constexpr replace_t replace{};
 #endif
-BOOST_HANA_NAMESPACE_END
+}} // end namespace boost::hana
 
 #endif // !BOOST_HANA_FWD_REPLACE_HPP