diff options
author | Max Kellermann <max@duempel.org> | 2013-01-07 19:32:55 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-07 22:01:56 +0100 |
commit | 4a36323f1bf9b6db20faa5f512095d1bb7bced2b (patch) | |
tree | 66164727da26ff0fc96db19ced96a5fd697f3ce6 /src | |
parent | c6281b2680ec10d31d00869091a0f918041a0554 (diff) |
Queue: don't include glib.h
Diffstat (limited to 'src')
-rw-r--r-- | src/Queue.hxx | 4 |
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); |