Fix compile errors on GCC

This commit is contained in:
Connor McLaughlin
2019-11-03 00:15:42 +10:00
parent 6dc7069d7c
commit 5abbdef065
6 changed files with 15 additions and 9 deletions

View File

@ -78,7 +78,7 @@ public:
}
#define RELATIONAL_OPERATOR(op) \
bool operator##op(const Position& rhs) const \
bool operator op (const Position& rhs) const \
{ \
return std::tie(minute, second, frame) op std::tie(rhs.minute, rhs.second, rhs.frame); \
}