In file included from src/main.cpp:4:0:
include/utility/filter.hpp: In instantiation of 'T utility::moving_average<T, size>::filtered() const [with T = float; unsigned int size = 5u]':
src/main.cpp:83:76: required from here
include/utility/filter.hpp:35:14: error: 'const class utility::moving_average<float, 5u>' has no member named 'size'
average<T>(this->buf, this->size);
^
include/utility/filter.hpp:36:3: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
詳細
utility/filter.hppのsample codeでbuildしたところ、以下のエラーメッセージが表示された
実行環境
3.0.1
core4.0.1
備考