From 8fcf551505c51e5a1379743ea9f3e109902fdcff Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 17 Feb 2016 23:25:51 -0200 Subject: [PATCH] AP_Terrain: replace header guard with pragma once --- libraries/AP_Terrain/AP_Terrain.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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__