mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 03:43:35 +08:00
navigator: use '#pragma once' as include guard
This commit is contained in:
@@ -38,8 +38,7 @@
|
||||
* @author Thomas Gubler <thomasgubler@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef GEOFENCE_H_
|
||||
#define GEOFENCE_H_
|
||||
#pragma once
|
||||
|
||||
#include <cfloat>
|
||||
|
||||
@@ -210,5 +209,3 @@ private:
|
||||
*/
|
||||
bool insideCircle(const PolygonInfo &polygon, double lat, double lon, float altitude);
|
||||
};
|
||||
|
||||
#endif /* GEOFENCE_H_ */
|
||||
|
||||
Reference in New Issue
Block a user