mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-08-31 01:47:59 +00:00
Fix warning in GCC 10
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user