diff options
author | Chris Robinson <[email protected]> | 2018-12-07 21:46:22 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-07 21:46:22 -0800 |
commit | ab5a11d5f39024e7a41b75f26045e0ac9504589f (patch) | |
tree | 2a90662f44bfa98d2bf40637c9deaaa01fc701fe /Alc/effects/equalizer.cpp | |
parent | 6e4c85625707b28da7baf51d7c315c3982531439 (diff) |
Avoid using the deprecated mem_fun_ref method
Diffstat (limited to 'Alc/effects/equalizer.cpp')
-rw-r--r-- | Alc/effects/equalizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |