1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 20:50:33 +00:00

Fix redefinition of ofstream

This commit is contained in:
Carles Fernandez 2018-10-06 20:56:16 +02:00
parent 79ae0a6c9d
commit 366401a595
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -509,7 +509,7 @@ bool RtklibPvt::save_assistance_to_XML()
std::ofstream ofs; std::ofstream ofs;
try try
{ {
std::ofstream ofs(eph_xml_filename_.c_str(), std::ofstream::trunc | std::ofstream::out); ofs.open(eph_xml_filename_.c_str(), std::ofstream::trunc | std::ofstream::out);
boost::archive::xml_oarchive xml(ofs); boost::archive::xml_oarchive xml(ofs);
xml << boost::serialization::make_nvp("GNSS-SDR_ephemeris_map", eph_map); xml << boost::serialization::make_nvp("GNSS-SDR_ephemeris_map", eph_map);
LOG(INFO) << "Saved GPS L1 Ephemeris map data"; LOG(INFO) << "Saved GPS L1 Ephemeris map data";