input_common/sdl_impl: Remove unnecessary std::chrono::duration construction

Specifying the time unit itself is sufficient here.
master
Lioncash 2019-03-17 03:19:55 +07:00 committed by fearlessTobi
parent a5c087f5de
commit ed31197402
1 changed files with 1 additions and 1 deletions

@ -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);
}
});
}