diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-06-11 14:49:26 -0700 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-06-12 10:52:02 -0700 |
commit | ff80b058240a5d9ebf6e92a38089a015265c69fe (patch) | |
tree | 6e8a9e99cdfc29015349b680547e696cfd17ac70 /host | |
parent | 0a1b9c2c6715a7a0756f8f7032cdb468e43dded1 (diff) | |
download | uhd-ff80b058240a5d9ebf6e92a38089a015265c69fe.tar.gz uhd-ff80b058240a5d9ebf6e92a38089a015265c69fe.tar.bz2 uhd-ff80b058240a5d9ebf6e92a38089a015265c69fe.zip |
utils: log: Fix includes for UHD_HEX()
Using UHD_HEX() requires <iomanip>, which is now part of log.hpp.
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/utils/log.hpp | 1 | ||||
-rw-r--r-- | host/tests/log_test.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/host/include/uhd/utils/log.hpp b/host/include/uhd/utils/log.hpp index 95ba8e670..89cb6b84d 100644 --- a/host/include/uhd/utils/log.hpp +++ b/host/include/uhd/utils/log.hpp @@ -11,6 +11,7 @@ #include <uhd/config.hpp> #include <boost/current_function.hpp> #include <boost/thread/thread.hpp> +#include <iomanip> #include <iostream> #include <ostream> #include <sstream> diff --git a/host/tests/log_test.cpp b/host/tests/log_test.cpp index 66afa315f..b844208e4 100644 --- a/host/tests/log_test.cpp +++ b/host/tests/log_test.cpp @@ -28,4 +28,5 @@ BOOST_AUTO_TEST_CASE(test_messages) UHD_HERE(); const int x = 42; UHD_VAR(x); + UHD_HEX(x); } |