aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/context.cpp')
-rw-r--r--alc/context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/context.cpp b/alc/context.cpp
index f9aec221..b1b95321 100644
--- a/alc/context.cpp
+++ b/alc/context.cpp
@@ -230,7 +230,7 @@ bool ALCcontext::deinit()
* given context.
*/
std::copy_if(oldarray->begin(), oldarray->end(), newarray->begin(),
- std::bind(std::not_equal_to<>{}, _1, this));
+ [this](auto a){ return a != this; });
/* Store the new context array in the device. Wait for any current mix
* to finish before deleting the old array.