summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-tools_gn_src_gn_version.h
blob: acde299817ce3879096e5cf1d24031b0f46df816 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- tools/gn/src/gn/version.h.orig	2020-10-22 13:59: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;