aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/ihex.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-10-31 14:30:52 -0700
committerMartin Braun <martin.braun@ettus.com>2016-11-08 08:02:22 -0800
commit99c2730bc9db270560671f2d7d173768465ed51f (patch)
treebc4df495734a075ebe2f7917cf67dec6fb7d8177 /host/lib/utils/ihex.hpp
parent218f4b0b63927110df9dbbaa8353c346eee2d98a (diff)
downloaduhd-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/utils/ihex.hpp')
-rw-r--r--host/lib/utils/ihex.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/utils/ihex.hpp b/host/lib/utils/ihex.hpp
index 9df1fcbc3..8a8f84b15 100644
--- a/host/lib/utils/ihex.hpp
+++ b/host/lib/utils/ihex.hpp
@@ -20,7 +20,7 @@
#include <boost/bind.hpp>
#include <boost/function.hpp>
-#include <boost/cstdint.hpp>
+#include <stdint.h>
#include <string>
#include <vector>
@@ -30,7 +30,7 @@ class ihex_reader
{
public:
// Arguments are: lower address bits, upper address bits, buff, length
- typedef boost::function<int(boost::uint16_t,boost::uint16_t,unsigned char*,boost::uint16_t)> record_handle_type;
+ typedef boost::function<int(uint16_t,uint16_t,unsigned char*,uint16_t)> record_handle_type;
/*
* \param ihex_filename Path to the *.ihx file
@@ -67,7 +67,7 @@ public:
*
* \throws uhd::io_error if the HEX file is corrupted or unreadable.
*/
- std::vector<boost::uint8_t> to_vector(const size_t size_estimate = 0);
+ std::vector<uint8_t> to_vector(const size_t size_estimate = 0);
private:
const std::string _ihex_filename;