Browse Source

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.
sbg
Beat Küng 6 years ago committed by Daniel Agar
parent
commit
2f4f4c6623
  1. 2
      src/platforms/px4_module.h

2
src/platforms/px4_module.h

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

Loading…
Cancel
Save