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 198f04b commit 1496dffCopy full SHA for 1496dff
include/pybind11/critical_section.h
@@ -22,7 +22,7 @@ class scoped_critical_section {
22
}
23
24
~scoped_critical_section() {
25
- if(has2) {
+ if (has2) {
26
PyCriticalSection2_End(§ion2);
27
} else {
28
PyCriticalSection_End(§ion);
tests/test_embed/test_interpreter.cpp
@@ -1,5 +1,5 @@
1
-#include <pybind11/embed.h>
2
#include <pybind11/critical_section.h>
+#include <pybind11/embed.h>
3
4
// Silence MSVC C++17 deprecation warning from Catch regarding std::uncaught_exceptions (up to
5
// catch 2.0.1; this should be fixed in the next catch release after 2.0.1).
0 commit comments