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
/
Foreach.h
diff --git
a/folly/Foreach.h
b/folly/Foreach.h
index 50740f40dc1243c000bf27daeb5ac47a277eaa43..ae0e865d92340c82608f47fe1f87142f0d01ae48 100644
(file)
--- a/
folly/Foreach.h
+++ b/
folly/Foreach.h
@@
-216,7
+216,7
@@
class HasLess {
template <typename, typename> static BiggerThanChar test(...);
public:
- enum { value = sizeof(test<T, U>(
0
)) == 1 };
+ enum { value = sizeof(test<T, U>(
nullptr
)) == 1 };
};
/**