From 32904d2dc0215ae69a89840ff979043c31881b60 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 27 May 2024 11:24:16 +1000 Subject: [PATCH] AntennaTracker: use NEW_NOTHROW for new(std::nothrow) --- AntennaTracker/GCS_Tracker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AntennaTracker/GCS_Tracker.h b/AntennaTracker/GCS_Tracker.h index 4201cadde8..30cfaef564 100644 --- a/AntennaTracker/GCS_Tracker.h +++ b/AntennaTracker/GCS_Tracker.h @@ -28,7 +28,7 @@ protected: GCS_MAVLINK_Tracker *new_gcs_mavlink_backend(GCS_MAVLINK_Parameters ¶ms, AP_HAL::UARTDriver &uart) override { - return new GCS_MAVLINK_Tracker(params, uart); + return NEW_NOTHROW GCS_MAVLINK_Tracker(params, uart); } private: