Skip to content

Commit

Permalink
#error "Intentional Breakage" (to verify: PYBIND11_ACTUALLY_USING_SMA…
Browse files Browse the repository at this point in the history
…RT_HOLDER_AS_DEFAULT)
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Aug 14, 2024
1 parent 58aaf5e commit 4f6f5cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/pybind11/pybind11.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 4f6f5cb

Please sign in to comment.