mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 21:50:32 -04:00
15 lines
527 B
C++
15 lines
527 B
C++
--- tools/gn/src/gn/version.h.orig 2021-01-07 00:45:48 UTC
|
|
+++ tools/gn/src/gn/version.h
|
|
@@ -15,9 +15,9 @@ class Version {
|
|
|
|
static std::optional<Version> FromString(std::string s);
|
|
|
|
- int major() const { return major_; }
|
|
- int minor() const { return minor_; }
|
|
- int patch() const { return patch_; }
|
|
+ int gmajor() const { return major_; }
|
|
+ int gminor() const { return minor_; }
|
|
+ int gpatch() const { return patch_; }
|
|
|
|
bool operator==(const Version& other) const;
|
|
bool operator<(const Version& other) const;
|