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
/
small_vector.h
diff --git
a/folly/small_vector.h
b/folly/small_vector.h
index b8009b018acf4e1231fc20a13a772ce71518a24c..71440437f672b4978c5746b83f23582377ba8907 100644
(file)
--- a/
folly/small_vector.h
+++ b/
folly/small_vector.h
@@
-1137,7
+1137,7
@@
class small_vector : public detail::small_vector_base<
union Data {
explicit Data() {
- pdata_.heap_ =
0
;
+ pdata_.heap_ =
nullptr
;
}
PointerType pdata_;