mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 15:10:35 +08:00
Safer virtual methods; this breaks compatibility with GCC 4.6
This commit is contained in:
@@ -144,7 +144,7 @@ private:
|
||||
|
||||
bool had_events_ = false;
|
||||
|
||||
virtual void onEvent(uavcan::dynamic_node_id_server::TraceCode code, std::int64_t argument)
|
||||
void onEvent(uavcan::dynamic_node_id_server::TraceCode code, std::int64_t argument) override
|
||||
{
|
||||
uavcan_posix::dynamic_node_id_server::FileEventTracer::onEvent(code, argument);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user