Skip to content

Commit 78872f9

Browse files
committed
Remove C++20 concept for now
1 parent f24c79f commit 78872f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/_libs/arrow_string_accumulations.cc

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ static auto CumSum(const struct ArrowArrayView *array_view,
5353
}
5454
}
5555

56-
template <typename T>
57-
concept MinOrMaxOp =
58-
std::same_as<T, std::less<>> || std::same_as<T, std::greater<>>;
56+
// template <typename T>
57+
// concept MinOrMaxOp =
58+
// std::same_as<T, std::less<>> || std::same_as<T, std::greater<>>;
5959

6060
template <auto Op>
61-
requires MinOrMaxOp<decltype(Op)>
61+
// requires MinOrMaxOp<decltype(Op)>
6262
static auto CumMinOrMax(const struct ArrowArrayView *array_view,
6363
struct ArrowArray *out, bool skipna) {
6464
bool seen_na = false;

0 commit comments

Comments
 (0)