aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/Parser/ParserUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Utils/Parser/ParserUtils.cpp')
-rw-r--r--Source/Utils/Parser/ParserUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Utils/Parser/ParserUtils.cpp b/Source/Utils/Parser/ParserUtils.cpp
index de4723241..0add95df1 100644
--- a/Source/Utils/Parser/ParserUtils.cpp
+++ b/Source/Utils/Parser/ParserUtils.cpp
@@ -87,7 +87,7 @@ amrex::Parser utils::parser::makeParser (
parser.registerVariables(varnames);
std::set<std::string> symbols = parser.symbols();
- for (auto const& v : varnames) symbols.erase(v.c_str());
+ for (auto const& v : varnames) symbols.erase(v);
// User can provide inputs under this name, through which expressions
// can be provided for arbitrary variables. PICMI inputs are aware of