mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 07:20:35 +08:00
Systemlib: Address init and copy constructors
This commit is contained in:
@@ -51,7 +51,10 @@ public:
|
||||
};
|
||||
|
||||
StateTable(Tran const *table, unsigned nStates, unsigned nSignals)
|
||||
: myTable(table), myNsignals(nSignals) {}
|
||||
: myState(0), myTable(table), myNsignals(nSignals) {}
|
||||
|
||||
StateTable(const StateTable &) = delete;
|
||||
StateTable &operator=(const StateTable &) = delete;
|
||||
|
||||
#define NO_ACTION &StateTable::doNothing
|
||||
#define ACTION(_target) StateTable::Action(_target)
|
||||
|
||||
Reference in New Issue
Block a user