Commit b489eadd authored by Kirill Terekhov's avatar Kirill Terekhov

Remove "register" specifier - gives warning with QT

parent e7dc1a35
......@@ -47,7 +47,7 @@ namespace INMOST
unsigned int v = static_cast<unsigned int>(t); // 32-bit value to find the log2 of
//static const unsigned int b[] = {0xAAAAAAAA, 0xCCCCCCCC, 0xF0F0F0F0, 0xFF00FF00, 0xFFFF0000};
static const unsigned int b[] = {0xAAAAAAAA, 0xCCCCCCCC, 0xF0F0F0F0};
register unsigned int r = (v & b[0]) != 0;
unsigned int r = (v & b[0]) != 0;
//r |= ((v & b[4]) != 0) << 4;
//r |= ((v & b[3]) != 0) << 3;
r |= ((v & b[2]) != 0) << 2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment