projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prefer bool literals rather than integers in boolean contexts
[folly.git]
/
folly
/
test
/
ConcurrentSkipListBenchmark.cpp
diff --git
a/folly/test/ConcurrentSkipListBenchmark.cpp
b/folly/test/ConcurrentSkipListBenchmark.cpp
index 762c6f5cf569376a96ad04041c06821f6e54cb2e..51f9a9f7b47df75ed50cd0d4fb0f8b40d39e9898 100644
(file)
--- a/
folly/test/ConcurrentSkipListBenchmark.cpp
+++ b/
folly/test/ConcurrentSkipListBenchmark.cpp
@@
-446,7
+446,7
@@
class ConcurrentAccessData {
} else {
skipListInsert(0, writeValues_[t]);
}
- return
0
;
+ return
false
;
default:
return skipListFind(0, readValues_[t]);
}
@@
-465,7
+465,7
@@
class ConcurrentAccessData {
} else {
setInsert(idx, writeValues_[t]);
}
- return
0
;
+ return
false
;
default:
return setFind(idx, readValues_[t]);
}