From d721ad70eb4ce1dfd33416097c01ed5b5ba12e83 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 17 Feb 2016 23:25:17 -0200 Subject: [PATCH] AP_Camera: replace header guard with pragma once --- libraries/AP_Camera/AP_Camera.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/AP_Camera/AP_Camera.h b/libraries/AP_Camera/AP_Camera.h index acc223106a..2eef60fa2b 100644 --- a/libraries/AP_Camera/AP_Camera.h +++ b/libraries/AP_Camera/AP_Camera.h @@ -2,9 +2,7 @@ /// @file AP_Camera.h /// @brief Photo or video camera manager, with EEPROM-backed storage of constants. - -#ifndef AP_CAMERA_H -#define AP_CAMERA_H +#pragma once #include #include @@ -102,5 +100,3 @@ private: bool _timer_installed:1; uint8_t _last_pin_state; }; - -#endif /* AP_CAMERA_H */