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:
parent
29fc20671d
commit
ed74492e4e
7 changed files with 3 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue