mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-11 12:53:10 +00:00
Replace a macro by a lambda
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
|
||||
|
||||
#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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user