aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/experts
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/experts')
-rw-r--r--host/lib/experts/expert_container.cpp8
-rw-r--r--host/lib/experts/expert_nodes.hpp3
2 files changed, 6 insertions, 5 deletions
diff --git a/host/lib/experts/expert_container.cpp b/host/lib/experts/expert_container.cpp
index 78c783790..1d945aa42 100644
--- a/host/lib/experts/expert_container.cpp
+++ b/host/lib/experts/expert_container.cpp
@@ -151,11 +151,11 @@ public:
const dag_vertex_t& vertex = _get_vertex(*vi.first);
if (vertex.get_class() != CLASS_WORKER) {
dot_str += str(boost::format(" %d [label=\"%s\",shape=%s,xlabel=\"%s\"];\n") %
- boost::uint32_t(*vi.first) % vertex.get_name() %
+ uint32_t(*vi.first) % vertex.get_name() %
DATA_SHAPE % vertex.get_dtype());
} else {
dot_str += str(boost::format(" %d [label=\"%s\",shape=%s];\n") %
- boost::uint32_t(*vi.first) % vertex.get_name() % WORKER_SHAPE);
+ uint32_t(*vi.first) % vertex.get_name() % WORKER_SHAPE);
}
}
@@ -165,8 +165,8 @@ public:
++ei.first
) {
dot_str += str(boost::format(" %d -> %d;\n") %
- boost::uint32_t(boost::source(*(ei.first), _expert_dag)) %
- boost::uint32_t(boost::target(*(ei.first), _expert_dag)));
+ uint32_t(boost::source(*(ei.first), _expert_dag)) %
+ uint32_t(boost::target(*(ei.first), _expert_dag)));
}
dot_str += "}\n";
return dot_str;
diff --git a/host/lib/experts/expert_nodes.hpp b/host/lib/experts/expert_nodes.hpp
index a704023a3..6040cd19e 100644
--- a/host/lib/experts/expert_nodes.hpp
+++ b/host/lib/experts/expert_nodes.hpp
@@ -29,6 +29,7 @@
#include <boost/units/detail/utility.hpp>
#include <memory>
#include <list>
+#include <stdint.h>
namespace uhd { namespace experts {
@@ -94,7 +95,7 @@ namespace uhd { namespace experts {
return os.str();
}
- static std::string print(const boost::uint8_t& val) {
+ static std::string print(const uint8_t& val) {
std::ostringstream os;
os << int(val);
return os.str();