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 when initializing pointers
[folly.git]
/
folly
/
hash
/
test
/
SpookyHashV2Test.cpp
diff --git
a/folly/hash/test/SpookyHashV2Test.cpp
b/folly/hash/test/SpookyHashV2Test.cpp
index 406c1007b606a7183060dd5cd26ecf3cb1e8c7fe..4d01a2c3444337b2a2bcd45b788810175000538c 100644
(file)
--- a/
folly/hash/test/SpookyHashV2Test.cpp
+++ b/
folly/hash/test/SpookyHashV2Test.cpp
@@
-305,7
+305,7
@@
void DoTimingBig(int seed)
for (int i=0; i<NUMBUF; ++i)
{
free(buf[i]);
- buf[i] =
0
;
+ buf[i] =
nullptr
;
}
}
#undef NUMBUF