We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3efe9d4 commit e9693fdCopy full SHA for e9693fd
include/pybind11/gil.h
@@ -152,8 +152,8 @@ class gil_scoped_release {
152
}
153
154
155
- gil_scoped_release(const gil_scoped_acquire &) = delete;
156
- gil_scoped_release &operator=(const gil_scoped_acquire &) = delete;
+ gil_scoped_release(const gil_scoped_release &) = delete;
+ gil_scoped_release &operator=(const gil_scoped_release &) = delete;
157
158
/// This method will disable the PyThreadState_DeleteCurrent call and the
159
/// GIL won't be acquired. This method should be used if the interpreter
0 commit comments