volatile increment warning
This commit is contained in:
parent
c5860ce731
commit
38cb44717e
|
@ -69,7 +69,7 @@ void cyclic_buffer<T, maxSize>::add(T value) {
|
||||||
}
|
}
|
||||||
currentIndex = idx;
|
currentIndex = idx;
|
||||||
|
|
||||||
count += 1;
|
count = count + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, size_t maxSize>
|
template<typename T, size_t maxSize>
|
||||||
|
|
Loading…
Reference in New Issue