diff options
author | 2023-08-01 00:08:20 +0200 | |
---|---|---|
committer | 2023-07-31 15:08:20 -0700 | |
commit | 4638e5aececfb33d39677d6d4f6241a3953ebe34 (patch) | |
tree | e83c1b8e9215ef4b3ee1b07d7177439d94e04f31 /Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp | |
parent | acf015f95243a063b74e095a9a9890d483fb842c (diff) | |
download | WarpX-4638e5aececfb33d39677d6d4f6241a3953ebe34.tar.gz WarpX-4638e5aececfb33d39677d6d4f6241a3953ebe34.tar.zst WarpX-4638e5aececfb33d39677d6d4f6241a3953ebe34.zip |
Clang tidy CI test: add some modernize checks to clang-tidy CI test (#4133)
* Clang Tidy: add several modernize checks
* eliminate file included in commit by mistake
* fix bug
Diffstat (limited to 'Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp')
-rw-r--r-- | Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp b/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp index 9a19e671e..d530cb091 100644 --- a/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp +++ b/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp @@ -21,7 +21,7 @@ using namespace amrex::literals; BTDPlotfileHeaderImpl::BTDPlotfileHeaderImpl (std::string const & Headerfile_path) - : m_Header_path(Headerfile_path) + : m_Header_path{Headerfile_path} { } @@ -177,7 +177,7 @@ BTDPlotfileHeaderImpl::WriteHeader () BTDMultiFabHeaderImpl::BTDMultiFabHeaderImpl (std::string const & Headerfile_path) - : m_Header_path(Headerfile_path) + : m_Header_path{Headerfile_path} { } @@ -353,7 +353,7 @@ BTDMultiFabHeaderImpl::CopyVec(amrex::Vector<amrex::Real>& dst, BTDSpeciesHeaderImpl::BTDSpeciesHeaderImpl (std::string const & Headerfile_path, std::string const& species_name) - : m_Header_path(Headerfile_path), m_species_name(species_name) + : m_Header_path{Headerfile_path}, m_species_name{species_name} { } |