Use parentheses for macro arguments

This commit is contained in:
Jonas Kvinge
2020-06-15 00:33:47 +02:00
parent 56caab4461
commit a68c249d4e
5 changed files with 14 additions and 14 deletions

View File

@@ -58,8 +58,8 @@ class MusicBrainzClient : public QObject {
bool operator<(const Result& other) const {
#define cmp(field) \
if (field < other.field) return true; \
if (field > other.field) return false;
if ((field) < other.field) return true; \
if ((field) > other.field) return false;
cmp(track_);
cmp(year_);