From e3cf71b328664e2deedf4f6d32b229d3d9924eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Matar=C3=A9?= Date: Thu, 17 Oct 2024 00:58:14 +0200 Subject: [PATCH] work around old GCC bug --- src/driver.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/driver.h b/src/driver.h index fc7a86b..83e4286 100644 --- a/src/driver.h +++ b/src/driver.h @@ -31,7 +31,9 @@ namespace thinkfan { class Driver { protected: Driver(bool optional, unsigned int max_errors); - virtual ~Driver() noexcept(false) = default; + + virtual ~Driver() noexcept(false) + {} template using FN = std::function;