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.
This commit is contained in:
Beat Küng 2019-01-29 08:05:21 +01:00 committed by Daniel Agar
parent 481bfc6308
commit 2f4f4c6623
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ template<class T>
class ModuleBase
{
public:
ModuleBase() = default;
ModuleBase() : _task_should_exit{false} {}
virtual ~ModuleBase() {}
/**