mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 06:26:42 +00:00
No more need to specify each types for ringBuffer
This commit is contained in:
parent
7302dc8bd7
commit
6c3dd265ab
2 changed files with 7 additions and 12 deletions
|
|
@ -53,9 +53,9 @@ public:
|
|||
|
||||
uint16_t getData() const;
|
||||
|
||||
bool put(TDATATYPE sample);
|
||||
bool put(const TDATATYPE item);
|
||||
|
||||
bool get(TDATATYPE& sample);
|
||||
bool get(TDATATYPE& item);
|
||||
|
||||
TDATATYPE peek() const;
|
||||
|
||||
|
|
@ -72,6 +72,6 @@ private:
|
|||
bool m_overflow;
|
||||
};
|
||||
|
||||
|
||||
#include "RingBuffer.impl.h"
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue