diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-11-23 09:16:10 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-08-22 08:17:11 -0700 |
commit | 0fccb00d6ba7d85f2bc11df5d1948b6c521cb8f6 (patch) | |
tree | 71a7207899f98f4b9198ee3fa83ae88e574feeb8 /host/lib/include/uhdlib/experts | |
parent | 7d2ba938a719b68e5e464432a874d2b45da1f729 (diff) | |
download | uhd-0fccb00d6ba7d85f2bc11df5d1948b6c521cb8f6.tar.gz uhd-0fccb00d6ba7d85f2bc11df5d1948b6c521cb8f6.tar.bz2 uhd-0fccb00d6ba7d85f2bc11df5d1948b6c521cb8f6.zip |
boost: Replaced units::demangle with core::demangle where appropriate
Boost moved this around in version 1.58.
Diffstat (limited to 'host/lib/include/uhdlib/experts')
-rw-r--r-- | host/lib/include/uhdlib/experts/expert_nodes.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/include/uhdlib/experts/expert_nodes.hpp b/host/lib/include/uhdlib/experts/expert_nodes.hpp index e698b3a71..d1f38ac07 100644 --- a/host/lib/include/uhdlib/experts/expert_nodes.hpp +++ b/host/lib/include/uhdlib/experts/expert_nodes.hpp @@ -16,7 +16,7 @@ #include <boost/function.hpp> #include <boost/thread/recursive_mutex.hpp> #include <boost/thread.hpp> -#include <boost/units/detail/utility.hpp> +#include <boost/core/demangle.hpp> #include <memory> #include <list> #include <stdint.h> @@ -133,7 +133,7 @@ namespace uhd { namespace experts { // Basic info virtual const std::string& get_dtype() const { static const std::string dtype( - boost::units::detail::demangle(typeid(data_t).name())); + boost::core::demangle(typeid(data_t).name())); return dtype; } @@ -291,7 +291,7 @@ namespace uhd { namespace experts { _datanode = dynamic_cast< data_node_t<data_t>* >(&node()); if (_datanode == NULL) { throw uhd::type_error("Expected data type for node " + n + - " was " + boost::units::detail::demangle(typeid(data_t).name()) + + " was " + boost::core::demangle(typeid(data_t).name()) + " but got " + node().get_dtype()); } } |