Improve const correctness

Fix a bug that made the parameter PVT.nmea_dump_devname ignored
Update changelog
This commit is contained in:
Carles Fernandez
2020-07-17 10:48:37 +02:00
parent 7bececeef6
commit ebd83c4cbe
36 changed files with 120 additions and 113 deletions
@@ -32,7 +32,7 @@ BeidouB1iTelemetryDecoder::BeidouB1iTelemetryDecoder(
in_streams_(in_streams),
out_streams_(out_streams)
{
std::string default_dump_filename = "./navigation.dat";
const std::string default_dump_filename("./navigation.dat");
DLOG(INFO) << "role " << role;
dump_ = configuration->property(role + ".dump", false);
dump_filename_ = configuration->property(role + ".dump_filename", default_dump_filename);