From a1c98d7e5d4115de481102a530399e1b8bfd4186 Mon Sep 17 00:00:00 2001 From: Era Dorta Date: Mon, 12 Jun 2023 19:58:32 +0000 Subject: [PATCH] Switch to std::thread --- src/input.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/input.cpp b/src/input.cpp index b041241e46d..91f6ab813d9 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -11,6 +11,7 @@ extern "C" { #include #include +#include #include #include "config.h" @@ -20,8 +21,6 @@ extern "C" { #include "thread_pool.h" #include "utility.h" -#include - using namespace std::literals; namespace input { @@ -738,7 +737,7 @@ namespace input { platf::gamepad(platf_input, gamepad.id, state); // Sleep for a short time to allow the input to be detected - boost::this_thread::sleep_for(std::chrono::milliseconds(100)); + std::this_thread::sleep_for(std::chrono::milliseconds(100)); // Release Home button state.buttonFlags &= ~platf::HOME;