projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use nullptr rather than 0 for a null pointer
[folly.git]
/
folly
/
test
/
MPMCQueueTest.cpp
diff --git
a/folly/test/MPMCQueueTest.cpp
b/folly/test/MPMCQueueTest.cpp
index 0874a8f2f8e6c05ed168f8474a1f257091f4a58f..1839903634db71696d0e13c4b9e13389ee746083 100644
(file)
--- a/
folly/test/MPMCQueueTest.cpp
+++ b/
folly/test/MPMCQueueTest.cpp
@@
-348,7
+348,7
@@
TEST(MPMCQueue, mt_try_enq_deq_deterministic) {
uint64_t nowMicro() {
timeval tv;
- gettimeofday(&tv,
0
);
+ gettimeofday(&tv,
nullptr
);
return static_cast<uint64_t>(tv.tv_sec) * 1000000 + tv.tv_usec;
}