From 04a83b6e76beef970854da69ba882d717669b49c Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 9 Jul 2021 11:02:01 +0200 Subject: uhd: Replace boost::thread::id with std::thread::id The Boost version is identical to the std:: version (which is available since C++11) and thus is no longer needed. Because of implicit includes, this breaks compilation in other parts. Appropriate includes were added there also. --- host/lib/utils/log.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/lib/utils/log.cpp') diff --git a/host/lib/utils/log.cpp b/host/lib/utils/log.cpp index fa17d79e8..cf18e00c7 100644 --- a/host/lib/utils/log.cpp +++ b/host/lib/utils/log.cpp @@ -266,7 +266,7 @@ public: __FILE__, __LINE__, "LOGGING", - boost::this_thread::get_id()); + std::this_thread::get_id()); final_message.message = ""; push(final_message); # ifndef UHD_LOG_FASTPATH_DISABLE @@ -482,7 +482,7 @@ private: __FILE__, __LINE__, component, - boost::this_thread::get_id()); + std::this_thread::get_id()); log_msg.message = msg; _log_queue.push_with_timed_wait(log_msg, 0.25); } @@ -506,7 +506,7 @@ uhd::_log::log::log(const uhd::log::severity_level verbosity, const std::string& file, const unsigned int line, const std::string& component, - const boost::thread::id thread_id) + const std::thread::id thread_id) : _log_it(verbosity >= log_rs().global_level) { if (_log_it) { -- cgit v1.2.3