aboutsummaryrefslogtreecommitdiff
path: root/Source/ablastr/warn_manager/WarnManager.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-04-21 22:28:12 +0200
committerGravatar GitHub <noreply@github.com> 2023-04-21 13:28:12 -0700
commite972d832155b0c3e91f26c287f7f23037e17f6de (patch)
tree25d034efaf9cc766bf55dd5702ae5bfc98abe237 /Source/ablastr/warn_manager/WarnManager.cpp
parent7170d1b45c5092c060655ec216e4e56be74b3edb (diff)
downloadWarpX-e972d832155b0c3e91f26c287f7f23037e17f6de.tar.gz
WarpX-e972d832155b0c3e91f26c287f7f23037e17f6de.tar.zst
WarpX-e972d832155b0c3e91f26c287f7f23037e17f6de.zip
move StringUtils.H to ablastr (#3864)
Diffstat (limited to '')
-rw-r--r--Source/ablastr/warn_manager/WarnManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/ablastr/warn_manager/WarnManager.cpp b/Source/ablastr/warn_manager/WarnManager.cpp
index cd440615d..1c4fa477a 100644
--- a/Source/ablastr/warn_manager/WarnManager.cpp
+++ b/Source/ablastr/warn_manager/WarnManager.cpp
@@ -8,6 +8,7 @@
#include "WarnManager.H"
#include "ablastr/utils/msg_logger/MsgLogger.H"
+#include "ablastr/utils/text/StringUtils.H"
#include "ablastr/utils/TextMsg.H"
#include <AMReX_ParallelDescriptor.H>
@@ -287,7 +288,7 @@ WarnManager::MsgFormatter(
const auto prefix = "*" + std::string(tab_size, ' ');
const auto prefix_length = static_cast<int>(prefix.length());
- const auto wrapped_text = ablastr::utils::automatic_text_wrap(
+ const auto wrapped_text = ablastr::utils::text::automatic_text_wrap(
msg, line_size-prefix_length);
std::stringstream ss_out;