We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47b097b commit 341d63bCopy full SHA for 341d63b
include/pybind11/detail/common.h
@@ -606,7 +606,8 @@ struct from_python_policies {
606
: rvpp(return_value_policy::automatic_reference), convert(true), none(true) {}
607
608
// NOLINTNEXTLINE(google-explicit-constructor)
609
- from_python_policies(bool convert, bool none = true) : convert(convert), none(none) {}
+ from_python_policies(bool convert, bool none = true)
610
+ : rvpp(return_value_policy::automatic_reference), convert(convert), none(none) {}
611
612
613
from_python_policies(const return_value_policy_pack &rvpp)
0 commit comments