diff --git a/libraries/AP_Rally/AP_Rally.h b/libraries/AP_Rally/AP_Rally.h index 30a4bf49cd..adf9b2900c 100644 --- a/libraries/AP_Rally/AP_Rally.h +++ b/libraries/AP_Rally/AP_Rally.h @@ -14,8 +14,7 @@ * - provides access to the rally points, including logic to find the nearest one * */ -#ifndef AP_Rally_h -#define AP_Rally_h +#pragma once #include #include @@ -75,6 +74,3 @@ private: uint32_t _last_change_time_ms; }; - - -#endif // AP_Rally_h