mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-01 09:30:55 +00:00
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:
1 parent
29fc20671d
commit
ed74492e4e
7 files changed
+3
-14
No files matched your search
+3
-4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user