From 66f12df03b33a3ea32c82b0d0af7c303cf17d50e Mon Sep 17 00:00:00 2001 From: Aaron Gokaslan Date: Mon, 27 Mar 2023 10:59:56 -0400 Subject: [PATCH] chore: make #4587 use proper cpp17 feature macro (#4592) --- include/pybind11/detail/descr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/detail/descr.h b/include/pybind11/detail/descr.h index 85259d488..635614b0d 100644 --- a/include/pybind11/detail/descr.h +++ b/include/pybind11/detail/descr.h @@ -143,7 +143,7 @@ constexpr descr concat(const descr &descr) { return descr; } -#if defined(PYBIND11_CPP17) +#ifdef __cpp_fold_expressions template constexpr descr operator,(const descr &a, const descr &b) {