AC_WPNav: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:11 -02:00 committed by Andrew Tridgell
parent 65680c8b8d
commit 3ae4c222e0
2 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,5 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#ifndef AC_CIRCLE_H
#define AC_CIRCLE_H
#pragma once
#include <AP_Common/AP_Common.h>
#include <AP_Param/AP_Param.h>
@ -101,4 +100,3 @@ private:
float _angular_vel_max; // maximum velocity in radians/sec
float _angular_accel; // angular acceleration in radians/sec/sec
};
#endif // AC_CIRCLE_H

View File

@ -1,6 +1,5 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#ifndef AC_WPNAV_H
#define AC_WPNAV_H
#pragma once
#include <AP_Common/AP_Common.h>
#include <AP_Param/AP_Param.h>
@ -321,4 +320,3 @@ protected:
float _spline_vel_scaler; //
float _yaw; // heading according to yaw
};
#endif // AC_WPNAV_H