mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-08-21 14:36:21 +02:00
No more need to specify each types for ringBuffer
This commit is contained in:
+3
-3
@@ -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
|
||||
Reference in New Issue
Block a user