1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-09-02 19:07:59 +00:00

Fix for gcc < 8

This commit is contained in:
Carles Fernandez
2020-06-16 14:00:12 +02:00
parent 8932427d7a
commit 7307e82d48

View File

@@ -42,7 +42,7 @@ namespace my_rotl
#if HAS_GENERIC_LAMBDA
auto rotl = [](auto x, auto n) { return (((x) << (n)) ^ ((x) >> (32 - (n)))); };
#else
uint32_t rotl = [](uint32_t x, uint32_t n) { return (((x) << (n)) ^ ((x) >> (32 - (n)))); };
auto rotl = [](uint32_t x, uint32_t n) { return (((x) << (n)) ^ ((x) >> (32 - (n)))); };
#endif
} // namespace my_rotl
#endif