we shall log 8 last error codes #668
This commit is contained in:
parent
9a4ded4018
commit
08e11aac28
|
@ -71,7 +71,7 @@ cyclic_buffer<T, maxSize>::cyclic_buffer(int size) {
|
|||
template<typename T, size_t maxSize>
|
||||
void cyclic_buffer<T, maxSize>::baseC(int size) {
|
||||
currentIndex = 0;
|
||||
memset(elements, 0, sizeof(elements));
|
||||
memset((void*)&elements, 0, sizeof(elements));
|
||||
setSize(size);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue