aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp')
-rw-r--r--Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp b/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp
index 0993a3eaf..b6cb1da97 100644
--- a/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp
+++ b/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp
@@ -39,12 +39,14 @@ FlushFormatSensei::FlushFormatSensei (amrex::AmrMesh *amr_mesh,
#endif
}
+#ifdef AMREX_USE_SENSEI_INSITU
FlushFormatSensei::~FlushFormatSensei ()
{
-#ifdef AMREX_USE_SENSEI_INSITU
delete m_insitu_bridge;
-#endif
}
+#else
+FlushFormatSensei::~FlushFormatSensei () = default;
+#endif
void
FlushFormatSensei::WriteToFile (