summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-17 08:20:53 +0100
committerLioncash <mathew1800@gmail.com>2019-03-17 09:02:52 +0100
commit114060fd87a8b8a869a20ba4b64f8bb40c37c7e6 (patch)
tree77384b48ebaf453d5004765f8cee784c59bff59a
parentinput_common/sdl_impl: Remove unnecessary std::chrono::duration construction (diff)
downloadyuzu-114060fd87a8b8a869a20ba4b64f8bb40c37c7e6.tar
yuzu-114060fd87a8b8a869a20ba4b64f8bb40c37c7e6.tar.gz
yuzu-114060fd87a8b8a869a20ba4b64f8bb40c37c7e6.tar.bz2
yuzu-114060fd87a8b8a869a20ba4b64f8bb40c37c7e6.tar.lz
yuzu-114060fd87a8b8a869a20ba4b64f8bb40c37c7e6.tar.xz
yuzu-114060fd87a8b8a869a20ba4b64f8bb40c37c7e6.tar.zst
yuzu-114060fd87a8b8a869a20ba4b64f8bb40c37c7e6.zip
-rw-r--r--src/input_common/sdl/sdl_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp
index 991ef9683..6e8376549 100644
--- a/src/input_common/sdl/sdl_impl.cpp
+++ b/src/input_common/sdl/sdl_impl.cpp
@@ -475,7 +475,7 @@ SDLState::SDLState() {
initialized = true;
if (start_thread) {
- poll_thread = std::thread([&] {
+ poll_thread = std::thread([this] {
using namespace std::chrono_literals;
while (initialized) {
SDL_PumpEvents();