mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-20 00:55:17 +00:00
Replace a macro by a lambda
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifndef _rotl
|
#ifndef _rotl
|
||||||
#define _rotl(X, N) (((X) << (N)) ^ ((X) >> (32 - (N)))) // Used in the parity check algorithm
|
auto _rotl = [](auto x, auto n) { return (((x) << (n)) ^ ((x) >> (32 - (n)))); }; // Used in the parity check algorithm
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user