aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/BoostedFrameDiagnostic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Diagnostics/BoostedFrameDiagnostic.cpp')
-rw-r--r--Source/Diagnostics/BoostedFrameDiagnostic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/BoostedFrameDiagnostic.cpp b/Source/Diagnostics/BoostedFrameDiagnostic.cpp
index e68cb4963..b7c771ce1 100644
--- a/Source/Diagnostics/BoostedFrameDiagnostic.cpp
+++ b/Source/Diagnostics/BoostedFrameDiagnostic.cpp
@@ -448,7 +448,7 @@ namespace
{
void
CopySlice(MultiFab& tmp, MultiFab& buf, int k_lab,
- std::vector<int> map_actual_fields_to_dump)
+ const std::vector<int>& map_actual_fields_to_dump)
{
const int ncomp_to_dump = map_actual_fields_to_dump.size();
// Copy data from MultiFab tmp to MultiFab data_buffer[i].