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 | ddbcc91a5697323110b317a58043b8502391e87c (patch) | |
| tree | 2a0b1bc9ac2e8a579b6d567e6c109553f4a3a5fb /src/input_common/sdl/sdl_impl.cpp | |
| parent | 4eeedd043626e9bde626459baf1b8022659d9359 (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); } }); } |
