Skip to content

Commit

Permalink
fix(chrono): remove libboost chrono include
Browse files Browse the repository at this point in the history
  • Loading branch information
Era-Dorta authored and ReenigneArcher committed Jun 23, 2023
1 parent 573b03f commit 0ad3d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ extern "C" {
}

#include <bitset>
#include <chrono>
#include <unordered_map>

#include "config.h"
Expand All @@ -19,7 +20,6 @@ extern "C" {
#include "thread_pool.h"
#include "utility.h"

#include <boost/chrono.hpp>
#include <boost/thread/thread.hpp>

using namespace std::literals;
Expand Down Expand Up @@ -738,7 +738,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));
boost::this_thread::sleep_for(std::chrono::milliseconds(100));

// Release Home button
state.buttonFlags &= ~platf::HOME;
Expand Down

0 comments on commit 0ad3d8b

Please sign in to comment.