diff options
Diffstat (limited to 'host/lib/rfnoc/blockdef_xml_impl.cpp')
-rw-r--r-- | host/lib/rfnoc/blockdef_xml_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/blockdef_xml_impl.cpp b/host/lib/rfnoc/blockdef_xml_impl.cpp index 5f8af232d..cf975b3c2 100644 --- a/host/lib/rfnoc/blockdef_xml_impl.cpp +++ b/host/lib/rfnoc/blockdef_xml_impl.cpp @@ -310,7 +310,7 @@ public: } // We have to be extra-careful with the port numbers: if (port["port"].empty()) { - port["port"] = boost::lexical_cast<std::string>(n_ports); + port["port"] = std::to_string(n_ports); } size_t new_port_number; try { |