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/multi_usrp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/lib/usrp/multi_usrp.cpp') diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp index 0910ad59d..3dcfe3bd9 100644 --- a/host/lib/usrp/multi_usrp.cpp +++ b/host/lib/usrp/multi_usrp.cpp @@ -1763,7 +1763,7 @@ private: { try { - const std::string tree_path = "/mboards/" + boost::lexical_cast(mboard); + const std::string tree_path = "/mboards/" + std::to_string(mboard); if (_tree->exists(tree_path)) { return tree_path; } else { @@ -1791,7 +1791,7 @@ private: try { - const std::string tree_path = mb_root(mcp.mboard) / "rx_dsps" / boost::lexical_cast(mcp.chan); + const std::string tree_path = mb_root(mcp.mboard) / "rx_dsps" / mcp.chan; if (_tree->exists(tree_path)) { return tree_path; } else { @@ -1818,7 +1818,7 @@ private: } try { - const std::string tree_path = mb_root(mcp.mboard) / "tx_dsps" / boost::lexical_cast(mcp.chan); + const std::string tree_path = mb_root(mcp.mboard) / "tx_dsps" / mcp.chan; if (_tree->exists(tree_path)) { return tree_path; } else { -- cgit v1.2.3