From 0fccb00d6ba7d85f2bc11df5d1948b6c521cb8f6 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 23 Nov 2016 09:16:10 -0800 Subject: boost: Replaced units::demangle with core::demangle where appropriate Boost moved this around in version 1.58. --- host/lib/include/uhdlib/experts/expert_nodes.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/lib/include') 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 #include #include -#include +#include #include #include #include @@ -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* >(&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()); } } -- cgit v1.2.3