Commit 0e169ccf authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Fix constexpr predicate names

Summary: [Folly] Fix `constexpr` predicate names, which have embarrassing typos.

Reviewed By: igorsugak

Differential Revision: D7605352

fbshipit-source-id: e04a87fd375f09472b020380bf446c7236a39e51
parent b55e6225
...@@ -42,7 +42,7 @@ struct constexpr_less { ...@@ -42,7 +42,7 @@ struct constexpr_less {
} }
}; };
template <typename T> template <typename T>
struct constexpr_less_qual { struct constexpr_less_equal {
constexpr bool operator()(T const& a, T const& b) const { constexpr bool operator()(T const& a, T const& b) const {
return a <= b; return a <= b;
} }
...@@ -54,7 +54,7 @@ struct constexpr_greater { ...@@ -54,7 +54,7 @@ struct constexpr_greater {
} }
}; };
template <typename T> template <typename T>
struct constexpr_reater_equal { struct constexpr_greater_equal {
constexpr bool operator()(T const& a, T const& b) const { constexpr bool operator()(T const& a, T const& b) const {
return a >= b; return a >= b;
} }
......
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