We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbb9c12 commit f57e3acCopy full SHA for f57e3ac
1 file changed
src/SCCircularBuffer.h
@@ -38,7 +38,7 @@ namespace tccollection {
38
bool actingAsMemoryPool;
39
40
public:
41
- GenericCircularBuffer(uint16_t size, BufferType asMemPool = CIRCULAR_BUFFER) : readerPosition(0), writerPosition(0),
+ explicit GenericCircularBuffer(uint16_t size, BufferType asMemPool = CIRCULAR_BUFFER) : readerPosition(0), writerPosition(0),
42
bufferSize(size), buffer(new T[size]), actingAsMemoryPool(asMemPool) {}
43
~GenericCircularBuffer() { delete[] buffer; }
44
0 commit comments