projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make folly::getCurrentThreadId() return a thread ID on OSX
[folly.git]
/
folly
/
CpuId.h
diff --git
a/folly/CpuId.h
b/folly/CpuId.h
index 24d4d97ee979d52f8048a80c991eb53c47245059..5e06513ccad44326d506c2e114d621fa70e79d84 100644
(file)
--- a/
folly/CpuId.h
+++ b/
folly/CpuId.h
@@
-99,7
+99,7
@@
class CpuId {
#define X(name, r, bit) \
FOLLY_ALWAYS_INLINE bool name() const { \
- return (
r) & (1U << bit);
\
+ return (
(r) & (1U << bit)) != 0;
\
}
// cpuid(1): Processor Info and Feature Bits.