From 47cdd6319c74a7b823843aad5ff3fa370ed1e6ef Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 27 Jun 2017 19:06:50 -0700 Subject: uhd: Replaced many lexical_cast with appropriate C++11 equivalents --- host/lib/usrp/x300/x300_fw_ctrl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'host/lib/usrp/x300/x300_fw_ctrl.cpp') diff --git a/host/lib/usrp/x300/x300_fw_ctrl.cpp b/host/lib/usrp/x300/x300_fw_ctrl.cpp index 38b7eb139..b8cb2075e 100644 --- a/host/lib/usrp/x300/x300_fw_ctrl.cpp +++ b/host/lib/usrp/x300/x300_fw_ctrl.cpp @@ -28,7 +28,6 @@ #include "x300_regs.hpp" #include #include -#include using namespace uhd; using namespace uhd::niusrprio; @@ -299,7 +298,7 @@ protected: virtual std::string __loc_info(void) { - return boost::lexical_cast(_drv_proxy->get_interface_num()); + return std::to_string(_drv_proxy->get_interface_num()); } private: -- cgit v1.2.3