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
/
SpookyHashV1Test.cpp
diff --git
a/folly/hash/test/SpookyHashV1Test.cpp
b/folly/hash/test/SpookyHashV1Test.cpp
index 054c37cac06816e22bc4d32f8b331f4ebd34cda6..d5987f8e44de846b6f62d6bc3bbed1d00f9945c4 100644
(file)
--- a/
folly/hash/test/SpookyHashV1Test.cpp
+++ b/
folly/hash/test/SpookyHashV1Test.cpp
@@
-315,7
+315,7
@@
void DoTimingBig(int seed)
for (int i=0; i<NUMBUF; ++i)
{
free(buf[i]);
- buf[i] =
0
;
+ buf[i] =
nullptr
;
}
}
#undef NUMBUF