mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Remove redundant c_str()
This commit is contained in:
parent
da2d12dd05
commit
95c6bb4dd1
@ -102,7 +102,7 @@ Nmea_Printer::Nmea_Printer(const std::string& filename, bool flag_nmea_output_fi
|
|||||||
nmea_devname = std::move(nmea_dump_devname);
|
nmea_devname = std::move(nmea_dump_devname);
|
||||||
if (flag_nmea_tty_port == true)
|
if (flag_nmea_tty_port == true)
|
||||||
{
|
{
|
||||||
nmea_dev_descriptor = init_serial(nmea_devname.c_str());
|
nmea_dev_descriptor = init_serial(nmea_devname);
|
||||||
if (nmea_dev_descriptor != -1)
|
if (nmea_dev_descriptor != -1)
|
||||||
{
|
{
|
||||||
DLOG(INFO) << "NMEA printer writing on " << nmea_devname.c_str();
|
DLOG(INFO) << "NMEA printer writing on " << nmea_devname.c_str();
|
||||||
|
@ -309,7 +309,7 @@ void galileo_telemetry_decoder_cc::decode_INAV_word(double *page_part_symbols, i
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// STORE HALF WORD (even page)
|
// STORE HALF WORD (even page)
|
||||||
d_inav_nav.split_page(page_String.c_str(), flag_even_word_arrived);
|
d_inav_nav.split_page(page_String, flag_even_word_arrived);
|
||||||
flag_even_word_arrived = 1;
|
flag_even_word_arrived = 1;
|
||||||
}
|
}
|
||||||
volk_gnsssdr_free(page_part_bits);
|
volk_gnsssdr_free(page_part_bits);
|
||||||
|
Loading…
Reference in New Issue
Block a user