fix(deps): replace libboost chrono and thread with standard chrono and thread (#1364)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
Era Dorta
2023-06-26 17:50:10 +02:00
committed by GitHub
parent 29fc20671d
commit ed74492e4e
7 changed files with 3 additions and 14 deletions

View File

@@ -10,6 +10,8 @@ extern "C" {
}
#include <bitset>
#include <chrono>
#include <thread>
#include <unordered_map>
#include "config.h"
@@ -19,9 +21,6 @@ extern "C" {
#include "thread_pool.h"
#include "utility.h"
#include <boost/chrono.hpp>
#include <boost/thread/thread.hpp>
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(boost::chrono::milliseconds(100));
std::this_thread::sleep_for(std::chrono::milliseconds(100));
// Release Home button
state.buttonFlags &= ~platf::HOME;