projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f09eed
)
suppress unused variable warnings
author
Tianjiao Yin
<ytj@fb.com>
Thu, 30 Jun 2016 19:21:28 +0000
(12:21 -0700)
committer
Facebook Github Bot 0
<facebook-github-bot-0-bot@fb.com>
Thu, 30 Jun 2016 19:23:23 +0000
(12:23 -0700)
Reviewed By: yfeldblum
Differential Revision:
D3501266
fbshipit-source-id:
2ac3b6e2785792ccc45f4568ceff7fd05f0262f3
folly/test/ConvBenchmark.cpp
patch
|
blob
|
history
diff --git
a/folly/test/ConvBenchmark.cpp
b/folly/test/ConvBenchmark.cpp
index 48d5ea86b2a21d7295d0fc6630822709492db5d3..efff0bf3be39379713214738326d928d5f10d568 100644
(file)
--- a/
folly/test/ConvBenchmark.cpp
+++ b/
folly/test/ConvBenchmark.cpp
@@
-245,7
+245,7
@@
namespace {
template <typename T>
void checkArrayIndex(const T& array, size_t index) {
-
assert(index <
sizeof(array) / sizeof(array[0]));
+
DCHECK_LT(index,
sizeof(array) / sizeof(array[0]));
}
}