aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/Parser/ParserUtils.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-08-08 01:55:13 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-07 16:55:13 -0700
commitfa5dc424956cae58ec910bee49e1b9118fc1feb0 (patch)
tree7c7cb88fb407806235878004d12f1c6d3d9b3274 /Source/Utils/Parser/ParserUtils.cpp
parentfb33708501b986922066f332afa76ea8610ba31a (diff)
downloadWarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.tar.gz
WarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.tar.zst
WarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.zip
Clang-tidy CI test: add 4 new readability checks (#4163)
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