From 2f4f4c6623f07cdb724a639b4255e3b24e5c9c31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 29 Jan 2019 08:05:21 +0100 Subject: [PATCH] px4_module: explicitly call the constructor of _task_should_exit Workaround for a GCC bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58930) Triggered with the bebop toolchain. --- src/platforms/px4_module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/px4_module.h b/src/platforms/px4_module.h index 84d4e643f2..9bbc4006e1 100644 --- a/src/platforms/px4_module.h +++ b/src/platforms/px4_module.h @@ -115,7 +115,7 @@ template class ModuleBase { public: - ModuleBase() = default; + ModuleBase() : _task_should_exit{false} {} virtual ~ModuleBase() {} /**