From c399ab8a9b69bca19843eac9ef6cf8e89f816bc4 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 22 Jun 2021 12:43:39 +0200 Subject: zbx: Fix compilation on clang-10 The ostream<< overloads where in the wrong namespace to be found by the expert framework. Other compilers are more forgiving; not so clang 10. This enables compilation on that compiler. --- host/lib/include/uhdlib/usrp/dboard/zbx/zbx_constants.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/include/uhdlib/usrp/dboard/zbx/zbx_constants.hpp') diff --git a/host/lib/include/uhdlib/usrp/dboard/zbx/zbx_constants.hpp b/host/lib/include/uhdlib/usrp/dboard/zbx/zbx_constants.hpp index 0d1d7af7c..bc61b9d61 100644 --- a/host/lib/include/uhdlib/usrp/dboard/zbx/zbx_constants.hpp +++ b/host/lib/include/uhdlib/usrp/dboard/zbx/zbx_constants.hpp @@ -261,9 +261,9 @@ static const std::vector tx_tune_map = { }}} // namespace uhd::usrp::zbx -namespace uhd { namespace experts { +namespace uhd { namespace usrp { namespace zbx { // << Operator overload for expert's node printing (zbx_lo_source_t property) // Any added expert nodes of type enum class will have to define this std::ostream& operator<<( std::ostream& os, const ::uhd::usrp::zbx::zbx_lo_source_t& lo_source); -}} // namespace uhd::experts +}}} // namespace uhd::usrp::zbx -- cgit v1.2.3