mirror of https://github.com/ArduPilot/ardupilot
AntennaTracker: use NEW_NOTHROW for new(std::nothrow)
This commit is contained in:
parent
265e2a4d6b
commit
32904d2dc0
|
@ -28,7 +28,7 @@ protected:
|
||||||
|
|
||||||
GCS_MAVLINK_Tracker *new_gcs_mavlink_backend(GCS_MAVLINK_Parameters ¶ms,
|
GCS_MAVLINK_Tracker *new_gcs_mavlink_backend(GCS_MAVLINK_Parameters ¶ms,
|
||||||
AP_HAL::UARTDriver &uart) override {
|
AP_HAL::UARTDriver &uart) override {
|
||||||
return new GCS_MAVLINK_Tracker(params, uart);
|
return NEW_NOTHROW GCS_MAVLINK_Tracker(params, uart);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue