diff --git a/libraries/AP_Navigation/AP_Navigation.h b/libraries/AP_Navigation/AP_Navigation.h index 5a6d7cfaff..6c8860b696 100644 --- a/libraries/AP_Navigation/AP_Navigation.h +++ b/libraries/AP_Navigation/AP_Navigation.h @@ -9,9 +9,7 @@ interface. All variables used by controllers should be in their own class. */ - -#ifndef AP_NAVIGATION_H -#define AP_NAVIGATION_H +#pragma once #include @@ -110,6 +108,3 @@ public: CONTROLLER_L1 = 1 }; }; - - -#endif // AP_NAVIGATION_H