Filter: add consts

This commit is contained in:
Tobias 2013-08-09 16:19:22 +02:00 committed by Randy Mackay
parent 7855d242c7
commit f4000e66e6

View File

@ -40,11 +40,11 @@ public:
void reset(); void reset();
// get filter size // get filter size
uint8_t get_filter_size() { uint8_t get_filter_size() const {
return FILTER_SIZE; return FILTER_SIZE;
}; };
virtual T get_sample(uint8_t i) { virtual T get_sample(uint8_t i) const {
return samples[i]; return samples[i];
} }