File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -44,37 +44,36 @@ static constexpr char kBUILD_DATE[] = BUILD_DATE;
4444std::string const &
4545getClioVersionString ()
4646{
47- static std::string const value = kVERSION_STRING ; // NOLINT(readability-identifier-naming)
48- return value ;
47+ static std::string const kVALUE = kVERSION_STRING ;
48+ return kVALUE ;
4949}
5050
5151std::string const &
5252getClioFullVersionString ()
5353{
54- static std::string const kVALUE =
55- " clio-" + getClioVersionString (); // NOLINT(readability-identifier-naming)
54+ static std::string const kVALUE = " clio-" + getClioVersionString ();
5655 return kVALUE ;
5756}
5857
5958std::string const &
6059getGitCommitHash ()
6160{
62- static std::string const value = kGIT_COMMIT_HASH ; // NOLINT(readability-identifier-naming)
63- return value ;
61+ static std::string const kVALUE = kGIT_COMMIT_HASH ;
62+ return kVALUE ;
6463}
6564
6665std::string const &
6766getGitBuildBranch ()
6867{
69- static std::string const value = kGIT_BUILD_BRANCH ; // NOLINT(readability-identifier-naming)
70- return value ;
68+ static std::string const kVALUE = kGIT_BUILD_BRANCH ;
69+ return kVALUE ;
7170}
7271
7372std::string const &
7473getBuildDate ()
7574{
76- static std::string const value = kBUILD_DATE ; // NOLINT(readability-identifier-naming)
77- return value ;
75+ static std::string const kVALUE = kBUILD_DATE ;
76+ return kVALUE ;
7877}
7978
8079} // namespace util::build
You can’t perform that action at this time.
0 commit comments