adresses review comments

This commit is contained in:
mazzol_a
2025-05-23 11:41:56 +02:00
committed by Dhanya Thattil
parent f1fc7ae0ec
commit 5d48c3fcd8
6 changed files with 23 additions and 17 deletions

View File

@@ -11,7 +11,7 @@ class Version {
private:
std::string version_;
std::string date_;
inline static const std::string defaultBranch_[] = {"developer", "0.0.0"};
inline static const std::string defaultVersion_[] = {"developer", "0.0.0"};
public:
explicit Version(const std::string &s);

View File

@@ -22,7 +22,7 @@ Version::Version(const std::string &s) {
bool Version::hasSemanticVersioning() const {
return (version_ != defaultBranch_[0]) && (version_ != defaultBranch_[1]);
return (version_ != defaultVersion_[0]) && (version_ != defaultVersion_[1]);
}
std::string Version::getVersion() const { return version_; }