mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-07 00:13:59 -04:00
AP_Buffer: replace header guard with pragma once
This commit is contained in:
parent
62f50aede7
commit
246f940d01
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user