mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Fix warning in GCC 10
This commit is contained in:
parent
9b15992556
commit
447d8a5625
@ -81,7 +81,8 @@ TEST(Protobuf, Works)
|
||||
|
||||
// We can access like this:
|
||||
std::vector<Gnss_Synchro> vgs_read = serdes.readProtobuffer(obs);
|
||||
Gnss_Synchro gs_read = vgs_read[0];
|
||||
Gnss_Synchro gs_read{};
|
||||
gs_read = vgs_read[0];
|
||||
uint32_t prn_read = gs_read.PRN;
|
||||
uint32_t prn_read2 = vgs_read[1].PRN;
|
||||
std::string system_read(1, gs_read.System);
|
||||
|
Loading…
Reference in New Issue
Block a user