diff --git a/libraries/AP_SpdHgtControl/AP_SpdHgtControl.h b/libraries/AP_SpdHgtControl/AP_SpdHgtControl.h index cff44754ac..c9cf9d87e6 100644 --- a/libraries/AP_SpdHgtControl/AP_SpdHgtControl.h +++ b/libraries/AP_SpdHgtControl/AP_SpdHgtControl.h @@ -1,4 +1,5 @@ // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*- +#pragma once /// @file AP_SpdHgtControl.h /// @brief generic speed & height controller interface @@ -10,9 +11,6 @@ own class. */ -#ifndef AP_SPDHGTCONTROL_H -#define AP_SPDHGTCONTROL_H - #include #include #include @@ -85,6 +83,3 @@ public: }; - - -#endif // AP_SPDHGTCONTROL_H