Skip to content

Commit

Permalink
Missing Includes: FabArray(Base)
Browse files Browse the repository at this point in the history
More directly used dependencies.
  • Loading branch information
ax3l committed Mar 14, 2024
1 parent 4205307 commit 400f216
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Src/Base/AMReX_FabArray.H
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <AMReX_MakeType.H>
#include <AMReX_TypeTraits.H>
#include <AMReX_LayoutData.H>
#include <AMReX_BaseFab.H>
#include <AMReX_BaseFabUtility.H>
#include <AMReX_MFParallelFor.H>
#include <AMReX_TagParallelFor.H>
Expand All @@ -39,14 +40,16 @@
#include <omp.h>
#endif

#include <algorithm>
#include <cstring>
#include <limits>
#include <map>
#include <memory>
#include <utility>
#include <vector>
#include <algorithm>
#include <set>
#include <string>
#include <vector>


namespace amrex {

Expand Down Expand Up @@ -84,7 +87,7 @@ struct MFInfo {
template <typename T, typename... Ts>
MFInfo& SetTag (T&& t, Ts&&... ts) noexcept {
tags.emplace_back(std::forward<T>(t));
return SetTag(std::forward<Ts>(ts)...);
return SetTag(FabArray<Ts>(ts)...);
}
};

Expand Down
2 changes: 2 additions & 0 deletions Src/Base/AMReX_FabArrayBase.H
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
#include <omp.h>
#endif

#include <ostream>
#include <string>
#include <utility>


namespace amrex {

class MFIter;
Expand Down

0 comments on commit 400f216

Please sign in to comment.