No more need to specify each types for ringBuffer

This commit is contained in:
Geoffrey Merck 2020-05-09 13:33:05 +02:00
parent 7302dc8bd7
commit 6c3dd265ab
2 changed files with 7 additions and 12 deletions

View file

@ -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