cjhash: Fix build fix
authorChristian Kamm <mail@ckamm.de>
Mon, 12 Nov 2018 12:45:56 +0000 (13:45 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:20 +0000 (10:58 +0100)
See 17a4055e8d658f24b1fc47c44fd2daf66c7d5dbf

src/common/c_jhash.h

index 4790cf96a29f4148dc9225a1d3c388c209760f56..1aae10a3bdd04aec4d6f1c4fe754320e7a77c152 100644 (file)
@@ -27,7 +27,7 @@
 #include <stdint.h> // NOLINT
 #include <QtCore/qglobal.h>
 #ifndef Q_FALLTHROUGH
-#define Q_FALLTHROUGH // Was added in Qt 5.8
+#define Q_FALLTHROUGH() // Was added in Qt 5.8
 #endif
 
 #define c_hashsize(n) ((uint8_t) 1 << (n))