1
0
Fork 0

ring_buffer: Fix Push

This commit is contained in:
MerryMage 2018-09-19 07:14:36 +01:00
parent a6cf2e1f9d
commit c9c7097769
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public:
}
std::size_t Push(const std::vector<T>& input) {
return Push(input.data(), input.size());
return Push(input.data(), input.size() / granularity);
}
/// Pops slots from the ring buffer