AP_Terrain: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:51 -02:00 committed by Andrew Tridgell
parent 9271e97c0b
commit 8fcf551505
1 changed files with 1 additions and 4 deletions

View File

@ -13,9 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __AP_TERRAIN_H__
#define __AP_TERRAIN_H__
#pragma once
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL.h>
@ -410,4 +408,3 @@ private:
enum TerrainStatus system_status = TerrainStatusDisabled;
};
#endif // AP_TERRAIN_AVAILABLE
#endif // __AP_TERRAIN_H__