aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300/e300_eeprom_manager.cpp
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2015-03-12 10:43:13 -0700
committerMartin Braun <martin.braun@ettus.com>2015-03-12 12:10:26 -0700
commitd1ca5a10a1c79092ca5b20f52989d6e8b81306c0 (patch)
treec7f2ade8a3adb0cd3c015b0ad8a3e3e12bd5cf33 /host/lib/usrp/e300/e300_eeprom_manager.cpp
parentcc7d37f114d5a14b4e45372f38324bf95115b6b9 (diff)
downloaduhd-d1ca5a10a1c79092ca5b20f52989d6e8b81306c0.tar.gz
uhd-d1ca5a10a1c79092ca5b20f52989d6e8b81306c0.tar.bz2
uhd-d1ca5a10a1c79092ca5b20f52989d6e8b81306c0.zip
e300: Fix missing namespace prefixes.
In several files we were lacking boost:: namespace prefixes, which led to build failures on certain configurations. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'host/lib/usrp/e300/e300_eeprom_manager.cpp')
-rw-r--r--host/lib/usrp/e300/e300_eeprom_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/e300/e300_eeprom_manager.cpp b/host/lib/usrp/e300/e300_eeprom_manager.cpp
index dad6741f5..778e3150c 100644
--- a/host/lib/usrp/e300/e300_eeprom_manager.cpp
+++ b/host/lib/usrp/e300/e300_eeprom_manager.cpp
@@ -21,7 +21,7 @@
namespace uhd { namespace usrp { namespace e300 {
-static const std::string _bytes_to_string(const uint8_t* bytes, size_t max_len)
+static const std::string _bytes_to_string(const boost::uint8_t* bytes, size_t max_len)
{
std::string out;
for (size_t i = 0; i < max_len; i++) {
@@ -31,7 +31,7 @@ static const std::string _bytes_to_string(const uint8_t* bytes, size_t max_len)
return out;
}
-static void _string_to_bytes(const std::string &string, size_t max_len, uint8_t* buffer)
+static void _string_to_bytes(const std::string &string, size_t max_len, boost::uint8_t* buffer)
{
byte_vector_t bytes;
const size_t len = std::min(string.size(), max_len);