Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed Mar 1, 2024
1 parent f59a731 commit 3182499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ylt/struct_pack/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ inline void resize(std::basic_string<ch> &raw_str, std::size_t sz) {
constexpr bool is_use_cxx11_abi = true;
#endif
if constexpr (std::is_same_v<ch, char> == false &&
_GLIBCXX_USE_CXX11_ABI == false) {
is_use_cxx11_abi == false) {
raw_str.resize(sz);
}
else {
Expand Down

0 comments on commit 3182499

Please sign in to comment.