mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-04-21 02:03:14 +00:00
Fix for gcc < 8
This commit is contained in:
parent
8932427d7a
commit
7307e82d48
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user