We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ee782 commit 9379b39Copy full SHA for 9379b39
.github/workflows/ci.yml
@@ -851,6 +851,10 @@ jobs:
851
std: 17
852
args: >
853
-DCMAKE_CXX_FLAGS="/permissive- /EHsc /GR"
854
+ - python: 3.7
855
+ std: 17
856
+ args: >
857
+ -DCMAKE_CXX_FLAGS="/permissive- /EHsc /GR"
858
859
steps:
860
- uses: actions/checkout@v2
include/pybind11/functional.h
@@ -69,7 +69,7 @@ struct type_caster<std::function<Return(Args...)>> {
69
// ensure GIL is held during functor destruction
70
struct func_handle {
71
function f;
72
-#if !(defined(_MSC_VER) && _MSC_VER == 1916 && defined(PYBIND11_CPP17) && PY_MAJOR_VERSION < 3)
+#if !(defined(_MSC_VER) && _MSC_VER == 1916 && defined(PYBIND11_CPP17))
73
// This triggers a syntax error under very special conditions (very weird indeed).
74
explicit
75
#endif
0 commit comments