diff options
author | Max Kellermann <max@musicpd.org> | 2021-02-24 20:17:26 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-02-24 20:17:28 +0100 |
commit | 8fe8f0902707c7e6f5a91ab299841019ca4682cf (patch) | |
tree | 0689817ae7775a911a938dbf15997bba83d4c8b2 /src/util | |
parent | 78670c0941f22438ff75835970da354bb2f61c73 (diff) |
util/IntrusiveList: add `noexcept`
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/IntrusiveList.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/IntrusiveList.hxx b/src/util/IntrusiveList.hxx index c28e419d2..4f88ac626 100644 --- a/src/util/IntrusiveList.hxx +++ b/src/util/IntrusiveList.hxx @@ -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) {} |