aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp')
-rw-r--r--Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp b/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp
index 1ea619bbf..eb011f7fb 100644
--- a/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp
+++ b/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp
@@ -45,7 +45,7 @@ FlushFormatCheckpoint::WriteToFile (
auto & warpx = WarpX::GetInstance();
- VisMF::Header::Version current_version = VisMF::GetHeaderVersion();
+ const VisMF::Header::Version current_version = VisMF::GetHeaderVersion();
VisMF::SetHeaderVersion(amrex::VisMF::Header::NoFabHeader_v1);
const std::string& checkpointname = amrex::Concatenate(prefix, iteration[0], file_min_digits);
@@ -177,8 +177,6 @@ FlushFormatCheckpoint::CheckpointParticles (
Vector<std::string> real_names;
Vector<std::string> int_names;
- Vector<int> int_flags;
- Vector<int> real_flags;
real_names.push_back("weight");