]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/process/environment.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / process / environment.hpp
index 7e84a36e50d87d9a5318ad48810d2c4e41213fbf..205e1130ae5fd9a6a26f30de55197a7a9b2d2ce3 100644 (file)
@@ -677,11 +677,11 @@ inline std::vector<boost::filesystem::path> path()
 #if defined(BOOST_WINDOWS_API)
     const ::boost::process::wnative_environment ne{};
     typedef typename ::boost::process::wnative_environment::const_entry_type value_type;
-    const auto id = L"PATH";
+    static constexpr auto id = L"PATH";
 #else
     const ::boost::process::native_environment ne{};
     typedef typename ::boost::process::native_environment::const_entry_type value_type;
-    const auto id = "PATH";
+    static constexpr auto id = "PATH";
 #endif
 
     auto itr = std::find_if(ne.cbegin(), ne.cend(),