diff options
| author | 2019-03-17 03:19:55 -0400 | |
|---|---|---|
| committer | 2019-03-17 04:02:52 -0400 | |
| commit | d74aa13bd35e43652b7f8759639a65230971cadc (patch) | |
| tree | 2a0b1bc9ac2e8a579b6d567e6c109553f4a3a5fb /src/input_common/sdl/sdl_impl.cpp | |
| parent | input_common/sdl_impl: Remove unused variable in SDLState constructor (diff) | |
| download | yuzu-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.cpp | 2 |
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 | } |