Merge tag 'v0.20.9'

release v0.20.9
This commit is contained in:
Max Kellermann
2017-06-04 12:57:05 +02:00
69 changed files with 240 additions and 232 deletions

View File

@@ -162,14 +162,14 @@ struct Queue {
}
gcc_pure
unsigned OrderToPosition(unsigned _order) const {
unsigned OrderToPosition(unsigned _order) const noexcept {
assert(_order < length);
return order[_order];
}
gcc_pure
unsigned PositionToOrder(unsigned position) const {
unsigned PositionToOrder(unsigned position) const noexcept {
assert(position < length);
for (unsigned i = 0;; ++i) {
@@ -181,7 +181,7 @@ struct Queue {
}
gcc_pure
uint8_t GetPriorityAtPosition(unsigned position) const {
uint8_t GetPriorityAtPosition(unsigned position) const noexcept {
assert(position < length);
return items[position].priority;