summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-03-17 03:19:55 -0400
committerGravatar Lioncash2019-03-17 04:02:52 -0400
commitd74aa13bd35e43652b7f8759639a65230971cadc (patch)
tree2a0b1bc9ac2e8a579b6d567e6c109553f4a3a5fb /src/input_common/sdl/sdl_impl.cpp
parentinput_common/sdl_impl: Remove unused variable in SDLState constructor (diff)
downloadyuzu-d74aa13bd35e43652b7f8759639a65230971cadc.tar.gz
yuzu-d74aa13bd35e43652b7f8759639a65230971cadc.tar.xz
yuzu-d74aa13bd35e43652b7f8759639a65230971cadc.zip
input_common/sdl_impl: Remove unnecessary std::chrono::duration construction
Specifying the time unit itself is sufficient here.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
-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 c223f5843..991ef9683 100644
--- a/src/input_common/sdl/sdl_impl.cpp
+++ b/src/input_common/sdl/sdl_impl.cpp
@@ -479,7 +479,7 @@ SDLState::SDLState() {
479 using namespace std::chrono_literals; 479 using namespace std::chrono_literals;
480 while (initialized) { 480 while (initialized) {
481 SDL_PumpEvents(); 481 SDL_PumpEvents();
482 std::this_thread::sleep_for(std::chrono::duration(10ms)); 482 std::this_thread::sleep_for(10ms);
483 } 483 }
484 }); 484 });
485 } 485 }