From d82369b293cf72660f631df71262f065487c9e5d Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 17 Feb 2016 23:25:48 -0200 Subject: [PATCH] AP_SerialManager: replace header guard with pragma once --- libraries/AP_SerialManager/AP_SerialManager.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/AP_SerialManager/AP_SerialManager.h b/libraries/AP_SerialManager/AP_SerialManager.h index 5524c5a0ce..823682754f 100644 --- a/libraries/AP_SerialManager/AP_SerialManager.h +++ b/libraries/AP_SerialManager/AP_SerialManager.h @@ -20,9 +20,7 @@ serial ports and provides helper functions so objects (like a gimbal) can find which serial port they should use */ - -#ifndef _AP_SERIALMANAGER_ -#define _AP_SERIALMANAGER_ +#pragma once #include #include @@ -131,5 +129,3 @@ private: // protocol_match - returns true if the protocols match bool protocol_match(enum SerialProtocol protocol1, enum SerialProtocol protocol2) const; }; - -#endif // _AP_SERIALMANAGER_