diff --git a/src/util/build/Build.cpp b/src/util/build/Build.cpp index 16bfdd314..b94ae8cda 100644 --- a/src/util/build/Build.cpp +++ b/src/util/build/Build.cpp @@ -44,37 +44,36 @@ static constexpr char kBUILD_DATE[] = BUILD_DATE; std::string const& getClioVersionString() { - static std::string const value = kVERSION_STRING; // NOLINT(readability-identifier-naming) - return value; + static std::string const kVALUE = kVERSION_STRING; + return kVALUE; } std::string const& getClioFullVersionString() { - static std::string const kVALUE = - "clio-" + getClioVersionString(); // NOLINT(readability-identifier-naming) + static std::string const kVALUE = "clio-" + getClioVersionString(); return kVALUE; } std::string const& getGitCommitHash() { - static std::string const value = kGIT_COMMIT_HASH; // NOLINT(readability-identifier-naming) - return value; + static std::string const kVALUE = kGIT_COMMIT_HASH; + return kVALUE; } std::string const& getGitBuildBranch() { - static std::string const value = kGIT_BUILD_BRANCH; // NOLINT(readability-identifier-naming) - return value; + static std::string const kVALUE = kGIT_BUILD_BRANCH; + return kVALUE; } std::string const& getBuildDate() { - static std::string const value = kBUILD_DATE; // NOLINT(readability-identifier-naming) - return value; + static std::string const kVALUE = kBUILD_DATE; + return kVALUE; } } // namespace util::build