aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Queue.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Queue.hxx b/src/Queue.hxx
index 00af9b666..3865aa86e 100644
--- a/src/Queue.hxx
+++ b/src/Queue.hxx
@@ -23,8 +23,6 @@
#include "gcc.h"
#include "util/LazyRandomEngine.hxx"
-#include <glib.h>
-
#include <algorithm>
#include <assert.h>
@@ -187,7 +185,7 @@ struct queue {
}
}
- G_GNUC_PURE
+ gcc_pure
uint8_t GetPriorityAtPosition(unsigned position) const {
assert(position < length);