From 7fe0095fa7b3b099488d05a6a73b1d9a83b82c48 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 11 Feb 2021 21:22:14 +0100 Subject: [PATCH] util/IntrusiveList: add `noexcept` to defaulted constructor --- src/util/IntrusiveList.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/IntrusiveList.hxx b/src/util/IntrusiveList.hxx index 36966e2a3..c82b1035c 100644 --- a/src/util/IntrusiveList.hxx +++ b/src/util/IntrusiveList.hxx @@ -125,7 +125,7 @@ class IntrusiveList { } public: - IntrusiveList() = default; + IntrusiveList() noexcept = default; IntrusiveList(IntrusiveList &&src) noexcept { if (src.empty())