mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
style: Remove readability-identifier-naming where not needed (#2962)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user