Commit 8fe8f090 authored by Max Kellermann's avatar Max Kellermann

util/IntrusiveList: add `noexcept`

parent 78670c09
...@@ -226,7 +226,7 @@ public: ...@@ -226,7 +226,7 @@ public:
:cursor(_cursor) {} :cursor(_cursor) {}
public: public:
iterator() = default; iterator() noexcept = default;
constexpr bool operator==(const iterator &other) const noexcept { constexpr bool operator==(const iterator &other) const noexcept {
return cursor == other.cursor; return cursor == other.cursor;
...@@ -273,7 +273,7 @@ public: ...@@ -273,7 +273,7 @@ public:
:cursor(_cursor) {} :cursor(_cursor) {}
public: public:
const_iterator() = default; const_iterator() noexcept = default;
const_iterator(iterator src) noexcept const_iterator(iterator src) noexcept
:cursor(src.cursor) {} :cursor(src.cursor) {}
......
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