From 4fa0ac1a4f1edf5f2395f18241033c659fac955a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Tue, 28 Nov 2023 11:35:23 +0100 Subject: [PATCH] Fix clang-tidy warning --- src/version.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/version.cpp b/src/version.cpp index 5feeccba13..1f89156695 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -47,8 +47,7 @@ std::string openPMD::getStandardDefault() standard << OPENPMD_STANDARD_DEFAULT_MAJOR << "." << OPENPMD_STANDARD_DEFAULT_MINOR << "." << OPENPMD_STANDARD_DEFAULT_PATCH; - std::string const standardstr = standard.str(); - return standardstr; + return standard.str(); } std::string openPMD::getStandardMinimum()