Commit ea4721b1 authored by Dan Melnic's avatar Dan Melnic Committed by Facebook GitHub Bot

Fix C++20 build

Summary: Fix C++20 build

Reviewed By: luciang

Differential Revision: D31786941

fbshipit-source-id: 153ffcee7b64f4c6dfafb786df90e909cee723b3
parent 63f559ca
...@@ -413,6 +413,7 @@ class Yield : public GenImpl<Value, Yield<Value, Source>> { ...@@ -413,6 +413,7 @@ class Yield : public GenImpl<Value, Yield<Value, Source>> {
template <class Value> template <class Value>
class Empty : public GenImpl<Value, Empty<Value>> { class Empty : public GenImpl<Value, Empty<Value>> {
public: public:
Empty() = default;
template <class Handler> template <class Handler>
bool apply(Handler&&) const { bool apply(Handler&&) const {
return true; return true;
...@@ -1290,6 +1291,7 @@ class GroupByAdjacent : public Operator<GroupByAdjacent<Selector>> { ...@@ -1290,6 +1291,7 @@ class GroupByAdjacent : public Operator<GroupByAdjacent<Selector>> {
template <class Expected> template <class Expected>
class TypeAssertion : public Operator<TypeAssertion<Expected>> { class TypeAssertion : public Operator<TypeAssertion<Expected>> {
public: public:
TypeAssertion() = default;
template <class Source, class Value> template <class Source, class Value>
const Source& compose(const GenImpl<Value, Source>& source) const { const Source& compose(const GenImpl<Value, Source>& source) const {
static_assert( static_assert(
......
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