diff --git a/src/engine/math/moving-average.hpp b/src/engine/math/moving-average.hpp index 1199f0e..334cd43 100644 --- a/src/engine/math/moving-average.hpp +++ b/src/engine/math/moving-average.hpp @@ -44,7 +44,7 @@ public: * @param capacity Sample capacity. */ /// @{ - moving_average(std::size_t capacity): + explicit moving_average(std::size_t capacity): m_samples(capacity) {} moving_average() noexcept = default;