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 5aaffb2 commit 4db3dbaCopy full SHA for 4db3dba
include/pybind11/critical_section.h
@@ -29,8 +29,8 @@ class scoped_critical_section {
29
}
30
31
#else
32
- explicit scoped_critical_section(handle _obj) = default;
33
- scoped_critical_section(handle _obj1, handle _obj2) = default;
+ explicit scoped_critical_section(handle) {};
+ scoped_critical_section(handle, handle) {};
34
~scoped_critical_section() = default;
35
#endif
36
0 commit comments