aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXVersion.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-08-01 00:08:20 +0200
committerGravatar GitHub <noreply@github.com> 2023-07-31 15:08:20 -0700
commit4638e5aececfb33d39677d6d4f6241a3953ebe34 (patch)
treee83c1b8e9215ef4b3ee1b07d7177439d94e04f31 /Source/Utils/WarpXVersion.cpp
parentacf015f95243a063b74e095a9a9890d483fb842c (diff)
downloadWarpX-4638e5aececfb33d39677d6d4f6241a3953ebe34.tar.gz
WarpX-4638e5aececfb33d39677d6d4f6241a3953ebe34.tar.zst
WarpX-4638e5aececfb33d39677d6d4f6241a3953ebe34.zip
Clang tidy CI test: add some modernize checks to clang-tidy CI test (#4133)
* Clang Tidy: add several modernize checks * eliminate file included in commit by mistake * fix bug
Diffstat (limited to 'Source/Utils/WarpXVersion.cpp')
-rw-r--r--Source/Utils/WarpXVersion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Utils/WarpXVersion.cpp b/Source/Utils/WarpXVersion.cpp
index 0e2076145..43978a479 100644
--- a/Source/Utils/WarpXVersion.cpp
+++ b/Source/Utils/WarpXVersion.cpp
@@ -18,7 +18,7 @@ WarpX::Version ()
version = std::string(WARPX_GIT_VERSION);
#endif
if( version.empty() )
- return std::string("Unknown");
+ return {"Unknown"};
else
return version;
}
@@ -31,7 +31,7 @@ WarpX::PicsarVersion ()
version = std::string(PICSAR_GIT_VERSION);
#endif
if( version.empty() )
- return std::string("Unknown");
+ return {"Unknown"};
else
return version;
}