Add header required for std::min/max
1 files changed, 2 insertions(+), 1 deletions(-) M src/MiniBpm.cpp
M src/MiniBpm.cpp +2 -1
@@ 65,6 65,7 @@ #include <map> #include <utility> #include <cmath> +#include <algorithm> #ifdef __MSVC__ #define R__ __restrict @@ 380,7 381,7 @@ public: m_input = new double[m_blockSize]; m_partial = new double[m_stepSize]; - int frameSize = std::max(lfsize, hfsize); + int frameSize = std::max(lfsize, hfsize); m_frame = new double[frameSize]; zero(m_input, m_blockSize);