We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4dc97 commit 8627fbeCopy full SHA for 8627fbe
Src/Base/AMReX_Arena.cpp
@@ -660,14 +660,21 @@ The_Comms_Arena ()
660
}
661
662
663
-Arena::ArenaProfiler::~ArenaProfiler () {
664
#ifdef AMREX_TINY_PROFILING
+
665
+Arena::ArenaProfiler::~ArenaProfiler ()
666
+{
667
if (m_do_profiling) {
668
TinyProfiler::DeregisterArena(m_profiling_stats);
669
-#endif
670
671
672
+#else
673
674
+Arena::ArenaProfiler::~ArenaProfiler () = default;
675
676
+#endif
677
678
void Arena::ArenaProfiler::profile_alloc ([[maybe_unused]] void* ptr,
679
[[maybe_unused]] std::size_t nbytes) {
680
0 commit comments