Skip to content

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Sep 6, 2024
1 parent 8182f44 commit 280030b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/openPMD/backend/Writable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class Writable final
* it.
*/
template <bool flush_entire_series>
void seriesFlush(std::string backendConfig = "{}");
void seriesFlush(std::string const &backendConfig = "{}");

// clang-format off
OPENPMD_private
Expand Down
9 changes: 4 additions & 5 deletions src/backend/Writable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,12 @@ Writable::~Writable()
}

template <bool flush_entire_series>
void Writable::seriesFlush(std::string backendConfig)
void Writable::seriesFlush(std::string const &backendConfig)
{
seriesFlush<flush_entire_series>(
{FlushLevel::UserFlush, std::move(backendConfig)});
seriesFlush<flush_entire_series>({FlushLevel::UserFlush, backendConfig});
}
template void Writable::seriesFlush<true>(std::string backendConfig);
template void Writable::seriesFlush<false>(std::string backendConfig);
template void Writable::seriesFlush<true>(std::string const &backendConfig);
template void Writable::seriesFlush<false>(std::string const &backendConfig);

template <bool flush_entire_series>
void Writable::seriesFlush(internal::FlushParams const &flushParams)
Expand Down

0 comments on commit 280030b

Please sign in to comment.