aboutsummaryrefslogtreecommitdiff
path: root/www/qt6-webengine/files/patch-src_3rdparty_gn_src_gn_version.h
blob: 35f6507a0aeeed330de7bf45c045b31a17cf2b28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/3rdparty/gn/src/gn/version.h.orig	2022-09-26 10:05:50 UTC
+++ src/3rdparty/gn/src/gn/version.h
@@ -22,9 +22,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;