diff --git a/src/daemonizer/CMakeLists.txt b/src/daemonizer/CMakeLists.txt index 9175d28c2..9027d5f11 100644 --- a/src/daemonizer/CMakeLists.txt +++ b/src/daemonizer/CMakeLists.txt @@ -67,7 +67,6 @@ monero_add_library(daemonizer target_link_libraries(daemonizer PUBLIC common - ${Boost_CHRONO_LIBRARY} ${Boost_FILESYSTEM_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY} PRIVATE diff --git a/src/daemonizer/windows_service.cpp b/src/daemonizer/windows_service.cpp index 335d01814..77d3617c8 100644 --- a/src/daemonizer/windows_service.cpp +++ b/src/daemonizer/windows_service.cpp @@ -26,9 +26,6 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include -#include - #undef UNICODE #undef _UNICODE @@ -103,8 +100,8 @@ namespace { // to allow the user to read any output. void pause_to_display_admin_window_messages() { - boost::chrono::milliseconds how_long{1500}; - boost::this_thread::sleep_for(how_long); + std::chrono::milliseconds how_long{1500}; + std::this_thread::sleep_for(how_long); } }