aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/log_c.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-07-09 11:02:01 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-07-14 16:19:08 -0500
commit04a83b6e76beef970854da69ba882d717669b49c (patch)
tree2c27939ca0b452698e9949beeea9183be27c0b72 /host/lib/utils/log_c.cpp
parentbaac9a3aaa3e1ce59cb5cd734cd21dc6ed607447 (diff)
downloaduhd-04a83b6e76beef970854da69ba882d717669b49c.tar.gz
uhd-04a83b6e76beef970854da69ba882d717669b49c.tar.bz2
uhd-04a83b6e76beef970854da69ba882d717669b49c.zip
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.
Diffstat (limited to 'host/lib/utils/log_c.cpp')
-rw-r--r--host/lib/utils/log_c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/utils/log_c.cpp b/host/lib/utils/log_c.cpp
index be08dbe01..932ab25ff 100644
--- a/host/lib/utils/log_c.cpp
+++ b/host/lib/utils/log_c.cpp
@@ -48,7 +48,7 @@ void UHD_API _uhd_log(const uhd_log_severity_level_t log_level,
filename,
unsigned(lineno),
component,
- boost::this_thread::get_id())
+ std::this_thread::get_id())
<< c_str;
} catch (...) {
}