diff options
author | 2023-08-30 03:36:46 +0200 | |
---|---|---|
committer | 2023-08-29 18:36:46 -0700 | |
commit | 3f95ac68a1d7cf764f58e360ae9b4c43e5913095 (patch) | |
tree | 5da34d67f9fcdf0086d73e077b677ccf9b870541 /Source/Diagnostics/WarpXOpenPMD.cpp | |
parent | 71432aac4ef37b0c3476a2af2255140af3188669 (diff) | |
download | WarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.tar.gz WarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.tar.zst WarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.zip |
Clang tidy CI test: add more readability checks to clang tidy CI test (#4146)
* add more readability checks to clang-tidy CI test
* reformat check list
* starting to address issues found with clang-tidy£
* addressing issues
* remove check
* address issues
* address all issues
* address issue found with github code scanning
Diffstat (limited to 'Source/Diagnostics/WarpXOpenPMD.cpp')
-rw-r--r-- | Source/Diagnostics/WarpXOpenPMD.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/WarpXOpenPMD.cpp b/Source/Diagnostics/WarpXOpenPMD.cpp index 94a9cf44a..69163b9c5 100644 --- a/Source/Diagnostics/WarpXOpenPMD.cpp +++ b/Source/Diagnostics/WarpXOpenPMD.cpp @@ -1364,7 +1364,7 @@ WarpXOpenPMDPlot::WriteOpenPMDFieldsAll ( //const std::string& filename, } // If there are no fields to be written, interrupt the function here - if ( varnames.size()==0 ) return; + if ( varnames.empty() ) return; // loop over levels up to output_levels // note: this is usually the finestLevel, not the maxLevel |