diff options
| author | Martin Braun <martin.braun@ettus.com> | 2016-10-31 14:30:52 -0700 | 
|---|---|---|
| committer | Martin Braun <martin.braun@ettus.com> | 2016-11-08 08:02:22 -0800 | 
| commit | 99c2730bc9db270560671f2d7d173768465ed51f (patch) | |
| tree | bc4df495734a075ebe2f7917cf67dec6fb7d8177 /host/lib/experts | |
| parent | 218f4b0b63927110df9dbbaa8353c346eee2d98a (diff) | |
| download | uhd-99c2730bc9db270560671f2d7d173768465ed51f.tar.gz uhd-99c2730bc9db270560671f2d7d173768465ed51f.tar.bz2 uhd-99c2730bc9db270560671f2d7d173768465ed51f.zip | |
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 <cstdint>, but not all of our
  compilers support that).
Diffstat (limited to 'host/lib/experts')
| -rw-r--r-- | host/lib/experts/expert_container.cpp | 8 | ||||
| -rw-r--r-- | host/lib/experts/expert_nodes.hpp | 3 | 
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(); | 
