AP_Buffer: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:16 -02:00
parent 62f50aede7
commit 246f940d01

View File

@ -2,9 +2,7 @@
/// @file AP_Buffer.h
/// @brief fifo (queue) buffer template class
#ifndef __AP_BUFFER_H__
#define __AP_BUFFER_H__
#pragma once
#include <stdint.h>
@ -153,5 +151,3 @@ T& AP_Buffer<T,SIZE>::peek_mutable(uint8_t position)
// return desired value
return _buff[j];
}
#endif // __AP_BUFFER_H__