Commit 4a36323f authored by Max Kellermann's avatar Max Kellermann

Queue: don't include glib.h

parent c6281b26
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#include "gcc.h" #include "gcc.h"
#include "util/LazyRandomEngine.hxx" #include "util/LazyRandomEngine.hxx"
#include <glib.h>
#include <algorithm> #include <algorithm>
#include <assert.h> #include <assert.h>
...@@ -187,7 +185,7 @@ struct queue { ...@@ -187,7 +185,7 @@ struct queue {
} }
} }
G_GNUC_PURE gcc_pure
uint8_t GetPriorityAtPosition(unsigned position) const { uint8_t GetPriorityAtPosition(unsigned position) const {
assert(position < length); assert(position < length);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment