Commit f3e0f107 authored by Max Wang's avatar Max Wang Committed by dcsommer

Fix typo in folly::Optional

Test Plan: yes

Reviewed By: delong.j@fb.com
parent 581f790c
...@@ -295,7 +295,7 @@ bool operator!=(const Optional<V>& a, const V& b) { ...@@ -295,7 +295,7 @@ bool operator!=(const Optional<V>& a, const V& b) {
} }
template<class V> 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; return b.hasValue() && b.value() == a;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment