diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-17 03:19:55 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-17 04:02:52 -0400 |
commit | d74aa13bd35e43652b7f8759639a65230971cadc (patch) | |
tree | 2a0b1bc9ac2e8a579b6d567e6c109553f4a3a5fb /src/input_common/sdl/sdl_impl.cpp | |
parent | 834d3fe336b066776c53b43b5682699622911acc (diff) |
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 c223f5843b..991ef96838 100644 --- a/src/input_common/sdl/sdl_impl.cpp +++ b/src/input_common/sdl/sdl_impl.cpp @@ -479,7 +479,7 @@ SDLState::SDLState() { using namespace std::chrono_literals; while (initialized) { SDL_PumpEvents(); - std::this_thread::sleep_for(std::chrono::duration(10ms)); + std::this_thread::sleep_for(10ms); } }); } |