diff options
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp')
-rw-r--r-- | Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp b/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp index eb011f7fb..6608123bb 100644 --- a/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp +++ b/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp @@ -211,7 +211,7 @@ FlushFormatCheckpoint::WriteDMaps (const std::string& dir, int nlev) const for (int lev = 0; lev < nlev; ++lev) { std::string DMFileName = dir; if (!DMFileName.empty() && DMFileName[DMFileName.size()-1] != '/') {DMFileName += '/';} - DMFileName = amrex::Concatenate(DMFileName + "Level_", lev, 1); + DMFileName = amrex::Concatenate(DMFileName.append("Level_"), lev, 1); DMFileName += "/DM"; std::ofstream DMFile; |