diff options
Diffstat (limited to 'host/lib/usrp_clock/octoclock/octoclock_eeprom.cpp')
-rw-r--r-- | host/lib/usrp_clock/octoclock/octoclock_eeprom.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/usrp_clock/octoclock/octoclock_eeprom.cpp b/host/lib/usrp_clock/octoclock/octoclock_eeprom.cpp index d18f94278..82b3463a8 100644 --- a/host/lib/usrp_clock/octoclock/octoclock_eeprom.cpp +++ b/host/lib/usrp_clock/octoclock/octoclock_eeprom.cpp @@ -24,7 +24,6 @@ #include <uhd/utils/byteswap.hpp> #include <boost/assign/list_of.hpp> #include <boost/asio.hpp> -#include <boost/lexical_cast.hpp> #include <iostream> @@ -84,7 +83,7 @@ void octoclock_eeprom_t::_load(){ (*this)["name"] = bytes_to_string(name_bytes); //Revision - (*this)["revision"] = boost::lexical_cast<std::string>(int(eeprom_in->revision)); + (*this)["revision"] = std::to_string(int(eeprom_in->revision)); } else throw uhd::runtime_error("Error loading OctoClock EEPROM."); } |