Skip to content

Commit b3c6954

Browse files
committed
Fix redundant declarations
1 parent d2e7e8c commit b3c6954

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

include/pybind11/detail/class.h

-2
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,6 @@ extern "C" inline void pybind11_object_dealloc(PyObject *self) {
497497
Py_DECREF(type);
498498
}
499499

500-
std::string error_string();
501-
502500
/** Create the type which can be used as a common base for all classes. This is
503501
needed in order to satisfy Python's requirements for multiple inheritance.
504502
Return value: New reference. */

include/pybind11/gil.h

-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
2121

2222
PYBIND11_NAMESPACE_BEGIN(detail)
2323

24-
// forward declarations
25-
PyThreadState *get_thread_state_unchecked();
26-
2724
PYBIND11_NAMESPACE_END(detail)
2825

2926
#if !defined(PYBIND11_SIMPLE_GIL_MANAGEMENT)

0 commit comments

Comments
 (0)