aboutsummaryrefslogtreecommitdiff
path: root/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp')
-rw-r--r--Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp b/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp
index 6d38a0b2f..b9ff9d519 100644
--- a/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp
+++ b/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp
@@ -9,7 +9,8 @@
#include "Utils/TextMsg.H"
#include "Utils/WarpXUtil.H"
#include "Utils/WarpX_Complex.H"
-#include "WarpX.H"
+
+#include <ablastr/warn_manager/WarnManager.H>
#include <AMReX.H>
#include <AMReX_Algorithm.H>
@@ -47,10 +48,10 @@ WarpXLaserProfiles::FromTXYEFileLaserProfile::init (
{
if (!std::numeric_limits< double >::is_iec559)
{
- WarpX::GetInstance().RecordWarning("Laser",
+ ablastr::warn_manager::WMRecordWarning("Laser",
"(Double does not comply with IEEE 754: bad"
"things will happen parsing the X, Y and T profiles for the laser!)",
- WarnPriority::high);
+ ablastr::warn_manager::WarnPriority::high);
}
// Parse the TXYE file