projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
581f790
)
Fix typo in folly::Optional
author
Max Wang
<mwang@fb.com>
Thu, 16 Oct 2014 21:50:48 +0000
(14:50 -0700)
committer
dcsommer
<dcsommer@fb.com>
Fri, 17 Oct 2014 18:45:24 +0000
(11:45 -0700)
Test Plan: yes
Reviewed By: delong.j@fb.com
folly/Optional.h
patch
|
blob
|
history
diff --git
a/folly/Optional.h
b/folly/Optional.h
index 032022b17883138083f178de17a14a4d6bf08507..dcc184aa585eafb0022dc0715580cb44696e59c6 100644
(file)
--- a/
folly/Optional.h
+++ b/
folly/Optional.h
@@
-295,7
+295,7
@@
bool operator!=(const Optional<V>& a, const V& b) {
}
template<class V>
-bool operator==(const V& a, const Optional<V
&>
b) {
+bool operator==(const V& a, const Optional<V
>&
b) {
return b.hasValue() && b.value() == a;
}