| 30 | #include <stddef.h> |
| 31 | |
| 32 | CircularBuffer::CircularBuffer(int _capacity) : |
| 33 | index(0), outdex(0), capacity(_capacity), empty(true), full(false) |
| 34 | { |
| 35 | buffer = new int[(size_t) this->capacity]; |
| 36 | } |
| 37 | |
| 38 | CircularBuffer::~CircularBuffer() |
| 39 | { |
nothing calls this directly
no outgoing calls
no test coverage detected