diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-06-27 19:06:50 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-06-29 13:40:07 -0700 |
commit | 47cdd6319c74a7b823843aad5ff3fa370ed1e6ef (patch) | |
tree | 216e88f36dbb5ba0b933f0a5ec3c2a151e972589 /host/lib/property_tree.cpp | |
parent | 412a7053cc0698fd8e1a09d9c40ec2f96cf629af (diff) | |
download | uhd-47cdd6319c74a7b823843aad5ff3fa370ed1e6ef.tar.gz uhd-47cdd6319c74a7b823843aad5ff3fa370ed1e6ef.tar.bz2 uhd-47cdd6319c74a7b823843aad5ff3fa370ed1e6ef.zip |
uhd: Replaced many lexical_cast with appropriate C++11 equivalents
Diffstat (limited to 'host/lib/property_tree.cpp')
-rw-r--r-- | host/lib/property_tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/property_tree.cpp b/host/lib/property_tree.cpp index d62f61878..b5ad10b21 100644 --- a/host/lib/property_tree.cpp +++ b/host/lib/property_tree.cpp @@ -66,7 +66,7 @@ fs_path uhd::operator/(const fs_path &lhs, const fs_path &rhs){ fs_path uhd::operator/(const fs_path &lhs, size_t rhs) { - fs_path rhs_str = boost::lexical_cast<std::string>(rhs); + fs_path rhs_str = std::to_string(rhs); return lhs / rhs_str; } |