Queue: don't include glib.h
This commit is contained in:
parent
c6281b2680
commit
4a36323f1b
@ -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 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
G_GNUC_PURE
|
gcc_pure
|
||||||
uint8_t GetPriorityAtPosition(unsigned position) const {
|
uint8_t GetPriorityAtPosition(unsigned position) const {
|
||||||
assert(position < length);
|
assert(position < length);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user