mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-23 17:09:27 +00:00
Remove obsolete PYBIND11_ACTUALLY_USING_SMART_HOLDER_AS_DEFAULT macro.
This commit is contained in:
parent
324f29df40
commit
febbd55a15
@ -1848,7 +1848,6 @@ struct property_cpp_function<
|
|||||||
// Running the pybind11 unit tests with smart_holder as the default holder is to ensure
|
// Running the pybind11 unit tests with smart_holder as the default holder is to ensure
|
||||||
// that `py::smart_holder` / `py::classh` is backward-compatible with all pre-existing
|
// that `py::smart_holder` / `py::classh` is backward-compatible with all pre-existing
|
||||||
// functionality.
|
// functionality.
|
||||||
# define PYBIND11_ACTUALLY_USING_SMART_HOLDER_AS_DEFAULT
|
|
||||||
template <typename>
|
template <typename>
|
||||||
using default_holder_type = smart_holder;
|
using default_holder_type = smart_holder;
|
||||||
#else
|
#else
|
||||||
|
@ -636,7 +636,7 @@ CHECK_NOALIAS(8);
|
|||||||
CHECK_HOLDER(1, unique);
|
CHECK_HOLDER(1, unique);
|
||||||
CHECK_HOLDER(2, unique);
|
CHECK_HOLDER(2, unique);
|
||||||
CHECK_HOLDER(3, unique);
|
CHECK_HOLDER(3, unique);
|
||||||
#ifndef PYBIND11_ACTUALLY_USING_SMART_HOLDER_AS_DEFAULT
|
#ifndef PYBIND11_USE_SMART_HOLDER_AS_DEFAULT
|
||||||
CHECK_HOLDER(4, unique);
|
CHECK_HOLDER(4, unique);
|
||||||
CHECK_HOLDER(5, unique);
|
CHECK_HOLDER(5, unique);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user