summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/OpenALStream.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-08-03 21:25:24 -0700
committerPierre Bourdon <delroth@gmail.com>2014-08-03 21:25:24 -0700
commit87e7c1ee46d3fe1472da40735365da25cab9272e (patch)
tree51d294213911d7f1a11399215c326615e41d5f8d /Source/Core/AudioCommon/OpenALStream.cpp
parent15920d0f10f143a49b9861bff3d4e7b11913e74f (diff)
parent17e79a966a4051c089e03b25de9640a55f39f01c (diff)
Merge pull request #724 from lioncash/mem_fn
AudioCommon: Get rid of some unnecessary mem_fn calls
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/OpenALStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp
index 84b9a72718..d9a26cac14 100644
--- a/Source/Core/AudioCommon/OpenALStream.cpp
+++ b/Source/Core/AudioCommon/OpenALStream.cpp
@@ -38,7 +38,7 @@ bool OpenALStream::Start()
//period_size_in_millisec = 1000 / refresh;
alcMakeContextCurrent(pContext);
- thread = std::thread(std::mem_fn(&OpenALStream::SoundLoop), this);
+ thread = std::thread(&OpenALStream::SoundLoop, this);
bReturn = true;
}
else