volatile increment warning

This commit is contained in:
rusefillc 2022-02-26 22:51:43 -05:00
parent de3234c5d7
commit 622e5b84e4
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ void cyclic_buffer<T, maxSize>::add(T value) {
} }
currentIndex = idx; currentIndex = idx;
++count; count += 1;
} }
template<typename T, size_t maxSize> template<typename T, size_t maxSize>