From 3182499bf38de30b6b3a2a782839bdf85b0c2c79 Mon Sep 17 00:00:00 2001 From: "Zezheng.Li" Date: Fri, 1 Mar 2024 16:31:41 +0800 Subject: [PATCH] fix --- include/ylt/struct_pack/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ylt/struct_pack/util.h b/include/ylt/struct_pack/util.h index 121688ecf..ec9218c4c 100644 --- a/include/ylt/struct_pack/util.h +++ b/include/ylt/struct_pack/util.h @@ -192,7 +192,7 @@ inline void resize(std::basic_string &raw_str, std::size_t sz) { constexpr bool is_use_cxx11_abi = true; #endif if constexpr (std::is_same_v == false && - _GLIBCXX_USE_CXX11_ABI == false) { + is_use_cxx11_abi == false) { raw_str.resize(sz); } else {