diff options
author | 2023-04-27 18:55:30 +0200 | |
---|---|---|
committer | 2023-04-27 16:55:30 +0000 | |
commit | 4f994a2ab9fcefd34a26e7f35b37bccd004ae7ee (patch) | |
tree | aabf3d25165fb180a28a907e20b90e49649a8313 /Source/ablastr/utils/text/StringUtils.cpp | |
parent | 9b422129bb630c9bda2f531b59df78614893f262 (diff) | |
download | WarpX-4f994a2ab9fcefd34a26e7f35b37bccd004ae7ee.tar.gz WarpX-4f994a2ab9fcefd34a26e7f35b37bccd004ae7ee.tar.zst WarpX-4f994a2ab9fcefd34a26e7f35b37bccd004ae7ee.zip |
fix recently re-introduced bug (#3875)
Diffstat (limited to '')
-rw-r--r-- | Source/ablastr/utils/text/StringUtils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/ablastr/utils/text/StringUtils.cpp b/Source/ablastr/utils/text/StringUtils.cpp index 67a269bbb..7409fa7e7 100644 --- a/Source/ablastr/utils/text/StringUtils.cpp +++ b/Source/ablastr/utils/text/StringUtils.cpp @@ -39,7 +39,8 @@ ablastr::utils::text::automatic_text_wrap( } else{ wrapped_text_lines.push_back(ss_line_out.str()); - ss_line_out = std::stringstream{word}; + ss_line_out.str(""); + ss_line_out << word; counter = wlen; } } |