From ad03c70753ab87b4e5641f3dbde0d82bd2ebe9bf Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 12 Feb 2021 18:28:52 +0100 Subject: [PATCH] event/TimerWheel: workaround for GCC9 bug --- src/event/TimerWheel.cxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/event/TimerWheel.cxx b/src/event/TimerWheel.cxx index 98f5ad50a..f0d3dea4d 100644 --- a/src/event/TimerWheel.cxx +++ b/src/event/TimerWheel.cxx @@ -35,7 +35,14 @@ #include -TimerWheel::TimerWheel() noexcept = default; +TimerWheel::TimerWheel() noexcept +{ + /* cannot use "=default" due to bug in GCC9 and older + ("defaulted on its redeclaration with an + exception-specification that differs from the implicit + exception-specification") */ +} + TimerWheel::~TimerWheel() noexcept = default; void