1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-15 19:55:47 +00:00

Fix building with gcc 4.9

This commit is contained in:
Carles Fernandez 2019-07-14 14:48:05 +02:00
parent d7460022ed
commit 7ee1394f2f
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -31,7 +31,6 @@
#include "unpack_2bit_samples.h"
#include <gnuradio/io_signature.h>
#include <array>
struct byte_2bit_struct
{
@ -54,7 +53,7 @@ bool systemIsBigEndian()
union
{
uint32_t i;
std::array<char, 4> c{};
char c[4];
} test_int = {0x01020304};
return test_int.c[0] == 1;