aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarnManager.cpp
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2022-03-11 08:52:48 -0800
committerGravatar GitHub <noreply@github.com> 2022-03-11 17:52:48 +0100
commitf00682d954522598112f03845bae018e3ec85a15 (patch)
tree0f63f22a6c38858365fadccb7d4c2c713fecd866 /Source/Utils/WarnManager.cpp
parent77af949745f2c784aee17d9fee0df6565ab4273d (diff)
downloadWarpX-f00682d954522598112f03845bae018e3ec85a15.tar.gz
WarpX-f00682d954522598112f03845bae018e3ec85a15.tar.zst
WarpX-f00682d954522598112f03845bae018e3ec85a15.zip
ABLASTR: Move TextMsg (#2953)
* ABLASTR: Move TextMsg Since this is used in a ABLASTR header, we need to compile this in ABLASTR, so ImpactX can use it as well. Otherwise we have missing symbols for that utility. * Fix typo in GNUmake * Apply Wording Update for Doxygen Co-authored-by: Luca Fedeli <luca.fedeli@for.unipi.it>
Diffstat (limited to 'Source/Utils/WarnManager.cpp')
-rw-r--r--Source/Utils/WarnManager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Utils/WarnManager.cpp b/Source/Utils/WarnManager.cpp
index 973e7ca28..1fc93a03b 100644
--- a/Source/Utils/WarnManager.cpp
+++ b/Source/Utils/WarnManager.cpp
@@ -10,6 +10,8 @@
#include "MsgLogger/MsgLogger.H"
#include "WarpXUtil.H"
+#include <ablastr/utils/TextMsg.H>
+
#include <AMReX_ParallelDescriptor.H>
#include <algorithm>
@@ -202,7 +204,7 @@ WarnManager::msg_formatter(
const auto prefix = "*" + std::string(tab_size, ' ');
const auto prefix_length = static_cast<int>(prefix.length());
- const auto wrapped_text = WarpXUtilStr::automatic_text_wrap(
+ const auto wrapped_text = ablastr::utils::automatic_text_wrap(
msg, line_size-prefix_length);
std::stringstream ss_out;