mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-22 17:57:17 +01:00
adresses review comments
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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_; }
|
||||
|
||||
Reference in New Issue
Block a user