Skip to content

Commit cf9cac3

Browse files
committed
Fix redundant declarations
1 parent 7d37eb9 commit cf9cac3

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
@@ -499,8 +499,6 @@ extern "C" inline void pybind11_object_dealloc(PyObject *self) {
499499
Py_DECREF(type);
500500
}
501501

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

include/pybind11/detail/type_caster_base.h

-3
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,6 @@ inline PyObject *make_new_instance(PyTypeObject *type);
517517

518518
#ifdef PYBIND11_SMART_HOLDER_ENABLED
519519

520-
// PYBIND11:REMINDER: Needs refactoring of existing pybind11 code.
521-
inline bool deregister_instance(instance *self, void *valptr, const type_info *tinfo);
522-
523520
PYBIND11_NAMESPACE_BEGIN(smart_holder_type_caster_support)
524521

525522
struct value_and_holder_helper {

0 commit comments

Comments
 (0)