Filter: compiler warnings - unused template <double>

This commit is contained in:
Tom Pittenger 2015-11-24 11:33:52 -08:00 committed by Randy Mackay
parent 0aa0380db8
commit 4ee2fb6c7a
2 changed files with 4 additions and 4 deletions

View File

@ -89,6 +89,6 @@ void LowPassFilter<T>::reset(T value) {
template class LowPassFilter<int>;
template class LowPassFilter<long>;
template class LowPassFilter<float>;
template class LowPassFilter<double>;
template class LowPassFilter<Vector2f>;
template class LowPassFilter<Vector3f>;

View File

@ -86,8 +86,8 @@ LowPassFilter<T>::LowPassFilter(float cutoff_freq) : _cutoff_freq(cutoff_freq) {
typedef LowPassFilter<int> LowPassFilterInt;
typedef LowPassFilter<long> LowPassFilterLong;
typedef LowPassFilter<float> LowPassFilterFloat;
typedef LowPassFilter<double> LowPassFilterDouble;
typedef LowPassFilter<Vector2f> LowPassFilterVector2f;
typedef LowPassFilter<Vector3f> LowPassFilterVector3f;
#endif // __LOW_PASS_FILTER_H__