Skip to content

Commit

Permalink
format??
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau committed Nov 12, 2024
1 parent 51cba22 commit f0647ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stm32-modules/include/common/core/circular_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

namespace circular_buffer {

template <typename T, std::size_t buffer_size> class CircularBuffer {
template <typename T, std::size_t buffer_size>
class CircularBuffer {
public:
explicit CircularBuffer(bool allow_overwrite = false)
: _buffer(std::array<T, buffer_size>()), _overwrite(allow_overwrite) {}
Expand Down Expand Up @@ -53,4 +54,4 @@ template <typename T, std::size_t buffer_size> class CircularBuffer {
std::size_t _count = 0;
};

} // namespace circular_buffer
} // namespace circular_buffer

0 comments on commit f0647ba

Please sign in to comment.