mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 06:35:12 +00:00
#error "Intentional Breakage" (to verify: PYBIND11_ACTUALLY_USING_SMART_HOLDER_AS_DEFAULT)
This commit is contained in:
parent
58aaf5e480
commit
4f6f5cb6e9
@ -1824,6 +1824,7 @@ struct property_cpp_function<
|
||||
# define PYBIND11_ACTUALLY_USING_SMART_HOLDER_AS_DEFAULT
|
||||
template <typename>
|
||||
using default_holder_type = smart_holder;
|
||||
# error "Intentional Breakage"
|
||||
#else
|
||||
template <typename T>
|
||||
using default_holder_type = std::unique_ptr<T>;
|
||||
|
Loading…
Reference in New Issue
Block a user