aboutsummaryrefslogtreecommitdiff
path: root/Source/ablastr/warn_manager/WarnManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/ablastr/warn_manager/WarnManager.cpp')
-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;