Skip to content

Commit

Permalink
fix(circular buffer): remove std::cout
Browse files Browse the repository at this point in the history
  • Loading branch information
zsliu98 committed Oct 11, 2024
1 parent d9c016f commit b0b8cd0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/dsp/container/circular_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ namespace zlContainer {

T pop_front() {
const auto frontPos = (pos - currentNum + static_cast<int>(data.size())) % static_cast<int>(data.size());
std::cout << pos << " " << frontPos << std::endl;
currentNum -= 1;
return data[static_cast<size_t>(frontPos)];
}
Expand Down

0 comments on commit b0b8cd0

Please sign in to comment.