diff options
author | 2023-08-08 01:55:13 +0200 | |
---|---|---|
committer | 2023-08-07 16:55:13 -0700 | |
commit | fa5dc424956cae58ec910bee49e1b9118fc1feb0 (patch) | |
tree | 7c7cb88fb407806235878004d12f1c6d3d9b3274 /Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp | |
parent | fb33708501b986922066f332afa76ea8610ba31a (diff) | |
download | WarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.tar.gz WarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.tar.zst WarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.zip |
Clang-tidy CI test: add 4 new readability checks (#4163)
Diffstat (limited to 'Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp')
-rw-r--r-- | Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp b/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp index c9ce3523f..c6f75e4a7 100644 --- a/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp +++ b/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp @@ -50,7 +50,7 @@ ChargeOnEB::ChargeOnEB (std::string rd_name) const amrex::ParmParse pp_rd_name(rd_name); m_do_parser_weighting = pp_rd_name.query("weighting_function(x,y,z)", buf); if (m_do_parser_weighting) { - std::string weighting_string = ""; + std::string weighting_string; utils::parser::Store_parserString( pp_rd_name,"weighting_function(x,y,z)", weighting_string); m_parser_weighting = std::make_unique<amrex::Parser>( |