From 280030bfdfc1df74afebdcda6fbe7bb3c5b556a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Fri, 6 Sep 2024 15:23:00 +0200 Subject: [PATCH] CI fixes --- include/openPMD/backend/Writable.hpp | 2 +- src/backend/Writable.cpp | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/include/openPMD/backend/Writable.hpp b/include/openPMD/backend/Writable.hpp index 25a2154665..1774d9dd59 100644 --- a/include/openPMD/backend/Writable.hpp +++ b/include/openPMD/backend/Writable.hpp @@ -121,7 +121,7 @@ class Writable final * it. */ template - void seriesFlush(std::string backendConfig = "{}"); + void seriesFlush(std::string const &backendConfig = "{}"); // clang-format off OPENPMD_private diff --git a/src/backend/Writable.cpp b/src/backend/Writable.cpp index fe9961fd96..47fcfd7933 100644 --- a/src/backend/Writable.cpp +++ b/src/backend/Writable.cpp @@ -46,13 +46,12 @@ Writable::~Writable() } template -void Writable::seriesFlush(std::string backendConfig) +void Writable::seriesFlush(std::string const &backendConfig) { - seriesFlush( - {FlushLevel::UserFlush, std::move(backendConfig)}); + seriesFlush({FlushLevel::UserFlush, backendConfig}); } -template void Writable::seriesFlush(std::string backendConfig); -template void Writable::seriesFlush(std::string backendConfig); +template void Writable::seriesFlush(std::string const &backendConfig); +template void Writable::seriesFlush(std::string const &backendConfig); template void Writable::seriesFlush(internal::FlushParams const &flushParams)