Skip to content

Commit 0de9fb3

Browse files
authored
Fix ProfApp: Implicit amrex:: (#16)
The file `ProfApp.cpp` implicitly assumes the `amrex::` namespace is used in multiple locations. This makes it available to fix multiple compliation errors in 2D with profiling on Ubuntu with GCC.
1 parent 1f2461b commit 0de9fb3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ProfApp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ const int plotAreaHeight(342);
6565
const int funcListHeight(600);
6666
const int funcListWidth(850);
6767

68+
using namespace amrex;
69+
6870
void CollectMProfStats(std::map<std::string, BLProfiler::ProfStats> &mProfStats,
6971
const Vector<Vector<BLProfStats::FuncStat> > &funcStats,
7072
const Vector<std::string> &fNames,

0 commit comments

Comments
 (0)