From 99c2730bc9db270560671f2d7d173768465ed51f Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 31 Oct 2016 14:30:52 -0700 Subject: Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be , but not all of our compilers support that). --- host/lib/experts/expert_container.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'host/lib/experts/expert_container.cpp') 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; -- cgit v1.2.3