AntennaTracker: use NEW_NOTHROW for new(std::nothrow)

This commit is contained in:
Andrew Tridgell 2024-05-27 11:24:16 +10:00
parent 265e2a4d6b
commit 32904d2dc0
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ protected:
GCS_MAVLINK_Tracker *new_gcs_mavlink_backend(GCS_MAVLINK_Parameters &params,
AP_HAL::UARTDriver &uart) override {
return new GCS_MAVLINK_Tracker(params, uart);
return NEW_NOTHROW GCS_MAVLINK_Tracker(params, uart);
}
private: