event/TimerWheel: workaround for GCC9 bug

This commit is contained in:
Max Kellermann 2021-02-12 18:28:52 +01:00
parent 7fe0095fa7
commit ad03c70753

View File

@ -35,7 +35,14 @@
#include <cassert>
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