diff options
Diffstat (limited to 'lang/cpp')
| -rw-r--r-- | lang/cpp/src/engineinfo.h | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/cpp/src/engineinfo.h b/lang/cpp/src/engineinfo.h index cd1b7a72..0bf7d0e8 100644 --- a/lang/cpp/src/engineinfo.h +++ b/lang/cpp/src/engineinfo.h @@ -87,13 +87,14 @@ public:          bool operator > (const char* other)          { -            return !operator<(Version(other)); +            return operator>(Version(other));          }          bool operator > (const Version & other)          { -            return !operator<(other); +            return !operator<(other) && !operator==(other);          } +          bool operator == (const Version& other)          {              return major == other.major  | 
