aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-17 03:19:55 -0400
committerLioncash <mathew1800@gmail.com>2019-03-17 04:02:52 -0400
commitddbcc91a5697323110b317a58043b8502391e87c (patch)
tree2a0b1bc9ac2e8a579b6d567e6c109553f4a3a5fb /src/input_common/sdl/sdl_impl.cpp
parent4eeedd043626e9bde626459baf1b8022659d9359 (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.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 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);
}
});
}