Browse Source

Filter: compiler warnings - unused template <double>

mission-4.1.18
Tom Pittenger 9 years ago committed by Randy Mackay
parent
commit
4ee2fb6c7a
  1. 4
      libraries/Filter/LowPassFilter.cpp
  2. 4
      libraries/Filter/LowPassFilter.h

4
libraries/Filter/LowPassFilter.cpp

@ -89,6 +89,6 @@ void LowPassFilter<T>::reset(T value) { @@ -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>;
template class LowPassFilter<Vector3f>;

4
libraries/Filter/LowPassFilter.h

@ -86,8 +86,8 @@ LowPassFilter<T>::LowPassFilter(float cutoff_freq) : _cutoff_freq(cutoff_freq) { @@ -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__
#endif // __LOW_PASS_FILTER_H__

Loading…
Cancel
Save