mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-30 04:30:28 +08:00
Systemlib: Address init and copy constructors
This commit is contained in:
1 parent
db174cf8b1
commit
074a71173b
1 file changed
+4
-1
@@ -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