From 400f216a79ef75c0b131e3fb56ad9a01e405b476 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 14 Mar 2024 10:38:36 -0700 Subject: [PATCH] Missing Includes: `FabArray(Base)` More directly used dependencies. --- Src/Base/AMReX_FabArray.H | 9 ++++++--- Src/Base/AMReX_FabArrayBase.H | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Src/Base/AMReX_FabArray.H b/Src/Base/AMReX_FabArray.H index 56300d4cfef..d82b740d189 100644 --- a/Src/Base/AMReX_FabArray.H +++ b/Src/Base/AMReX_FabArray.H @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -39,14 +40,16 @@ #include #endif +#include #include #include #include +#include #include -#include -#include #include #include +#include + namespace amrex { @@ -84,7 +87,7 @@ struct MFInfo { template MFInfo& SetTag (T&& t, Ts&&... ts) noexcept { tags.emplace_back(std::forward(t)); - return SetTag(std::forward(ts)...); + return SetTag(FabArray(ts)...); } }; diff --git a/Src/Base/AMReX_FabArrayBase.H b/Src/Base/AMReX_FabArrayBase.H index 21029eff840..09dfd5e22db 100644 --- a/Src/Base/AMReX_FabArrayBase.H +++ b/Src/Base/AMReX_FabArrayBase.H @@ -15,9 +15,11 @@ #include #endif +#include #include #include + namespace amrex { class MFIter;