From ab5a11d5f39024e7a41b75f26045e0ac9504589f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 7 Dec 2018 21:46:22 -0800 Subject: Avoid using the deprecated mem_fun_ref method --- Alc/effects/equalizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/effects') diff --git a/Alc/effects/equalizer.cpp b/Alc/effects/equalizer.cpp index af571930..30408433 100644 --- a/Alc/effects/equalizer.cpp +++ b/Alc/effects/equalizer.cpp @@ -101,7 +101,7 @@ ALboolean ALequalizerState::deviceUpdate(ALCdevice *UNUSED(device)) for(auto &e : mChans) { std::for_each(std::begin(e.filter), std::end(e.filter), - std::mem_fun_ref(&BiquadFilter::clear)); + std::mem_fn(&BiquadFilter::clear)); std::fill(std::begin(e.CurrentGains), std::end(e.CurrentGains), 0.0f); } return AL_TRUE; -- cgit v1.2.3