Skip to content

Commit 4f6f5cb

Browse files
committed
#error "Intentional Breakage" (to verify: PYBIND11_ACTUALLY_USING_SMART_HOLDER_AS_DEFAULT)
1 parent 58aaf5e commit 4f6f5cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/pybind11/pybind11.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,6 +1824,7 @@ struct property_cpp_function<
18241824
# define PYBIND11_ACTUALLY_USING_SMART_HOLDER_AS_DEFAULT
18251825
template <typename>
18261826
using default_holder_type = smart_holder;
1827+
# error "Intentional Breakage"
18271828
#else
18281829
template <typename T>
18291830
using default_holder_type = std::unique_ptr<T>;

0 commit comments

Comments
 (0)