util/IntrusiveList: add `noexcept`

This commit is contained in:
Max Kellermann 2021-02-24 20:17:26 +01:00
parent 78670c0941
commit 8fe8f09027
1 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ public:
:cursor(_cursor) {}
public:
iterator() = default;
iterator() noexcept = default;
constexpr bool operator==(const iterator &other) const noexcept {
return cursor == other.cursor;
@ -273,7 +273,7 @@ public:
:cursor(_cursor) {}
public:
const_iterator() = default;
const_iterator() noexcept = default;
const_iterator(iterator src) noexcept
:cursor(src.cursor) {}