diff --git a/include/pybind11/detail/smart_holder_poc.h b/include/pybind11/detail/smart_holder_poc.h index 6825e6451..9794b1b38 100644 --- a/include/pybind11/detail/smart_holder_poc.h +++ b/include/pybind11/detail/smart_holder_poc.h @@ -106,7 +106,7 @@ inline void custom_delete(void *raw_ptr) { template guarded_delete make_guarded_custom_deleter(bool armed_flag) { return guarded_delete(custom_delete, armed_flag); -}; +} template inline bool is_std_default_delete(const std::type_info &rtti_deleter) {