diff --git a/Src/Base/AMReX_ParmParse.H b/Src/Base/AMReX_ParmParse.H index dc4fa07fb4..73b3dbc107 100644 --- a/Src/Base/AMReX_ParmParse.H +++ b/Src/Base/AMReX_ParmParse.H @@ -1117,7 +1117,7 @@ public: std::is_same_v || std::is_same_v || std::is_same_v,int> = 0> - int queryAddWithParser (const char* name, T& ref) const + int queryAddWithParser (const char* name, T& ref) { int exist = this->queryWithParser(name, ref); if (!exist) {