diff --git a/libraries/AP_Terrain/AP_Terrain.h b/libraries/AP_Terrain/AP_Terrain.h index d54e14b062..7f0ed7836c 100644 --- a/libraries/AP_Terrain/AP_Terrain.h +++ b/libraries/AP_Terrain/AP_Terrain.h @@ -13,9 +13,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ - -#ifndef __AP_TERRAIN_H__ -#define __AP_TERRAIN_H__ +#pragma once #include #include @@ -410,4 +408,3 @@ private: enum TerrainStatus system_status = TerrainStatusDisabled; }; #endif // AP_TERRAIN_AVAILABLE -#endif // __AP_TERRAIN_H__