From fb48747fc8634420f8db5ef279140558849eb688 Mon Sep 17 00:00:00 2001 From: Klemens Date: Sat, 4 Jun 2022 23:26:14 +0800 Subject: [PATCH] Another cstring_ref --- include/boost/process/v2/cstring_ref.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/process/v2/cstring_ref.hpp b/include/boost/process/v2/cstring_ref.hpp index 1fa55bb14..609b951f3 100644 --- a/include/boost/process/v2/cstring_ref.hpp +++ b/include/boost/process/v2/cstring_ref.hpp @@ -140,7 +140,7 @@ struct basic_cstring_ref traits_type::to_int_type(x[idx]); // will compare to null char of either. } - BOOST_CONSTEXPR bool starts_with(string_view_type x) const BOOST_NOEXCEPT + BOOST_CXX14_CONSTEXPR bool starts_with(string_view_type x) const BOOST_NOEXCEPT { if (x.empty()) return true;