From 8d3074a9dc31c0ca4e4fa087e0fa67562b92d29b Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 4 Nov 2018 22:50:46 +0100 Subject: [PATCH] Replace boost::lexical_cast by std::to_string --- .../tracking/gnuradio_blocks/dll_pll_veml_tracking.cc | 6 +++--- .../tracking/gnuradio_blocks/dll_pll_veml_tracking_fpga.cc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking.cc b/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking.cc index 5401fae93..09f1cf8bf 100755 --- a/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking.cc +++ b/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking.cc @@ -50,7 +50,7 @@ #include "GPS_L5.h" #include "gps_l5_signal.h" #include "gnss_sdr_create_directory.h" -#include +#include #include #include #include @@ -1091,7 +1091,7 @@ int32_t dll_pll_veml_tracking::save_matfile() std::ifstream dump_file; std::string dump_filename_ = d_dump_filename; // add channel number to the filename - dump_filename_.append(boost::lexical_cast(d_channel)); + dump_filename_.append(std::to_string(d_channel)); // add extension dump_filename_.append(".dat"); std::cout << "Generating .mat file for " << dump_filename_ << std::endl; @@ -1335,7 +1335,7 @@ void dll_pll_veml_tracking::set_channel(uint32_t channel) { std::string dump_filename_ = d_dump_filename; // add channel number to the filename - dump_filename_.append(boost::lexical_cast(d_channel)); + dump_filename_.append(std::to_string(d_channel)); // add extension dump_filename_.append(".dat"); diff --git a/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking_fpga.cc b/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking_fpga.cc index 71d8cfc5a..f73ed6c90 100644 --- a/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking_fpga.cc +++ b/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking_fpga.cc @@ -48,7 +48,7 @@ #include "GPS_L5.h" #include "gps_l5_signal.h" #include "gnss_sdr_create_directory.h" -#include +#include #include #include #include @@ -999,7 +999,7 @@ int32_t dll_pll_veml_tracking_fpga::save_matfile() std::ifstream dump_file; std::string dump_filename_ = d_dump_filename; // add channel number to the filename - dump_filename_.append(boost::lexical_cast(d_channel)); + dump_filename_.append(std::to_string(d_channel)); // add extension dump_filename_.append(".dat"); std::cout << "Generating .mat file for " << dump_filename_ << std::endl; @@ -1227,7 +1227,7 @@ void dll_pll_veml_tracking_fpga::set_channel(uint32_t channel) { std::string dump_filename_ = d_dump_filename; // add channel number to the filename - dump_filename_.append(boost::lexical_cast(d_channel)); + dump_filename_.append(std::to_string(d_channel)); // add extension dump_filename_.append(".dat");