mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-28 13:52:46 +00:00
cleanup
This commit is contained in:
parent
a53bf0efc8
commit
adfed511e2
@ -1335,8 +1335,7 @@ object object_or_cast(T &&o) {
|
||||
template <typename D>
|
||||
template <typename T>
|
||||
str_attr_accessor object_api<D>::attr_with_type(const char *key) const {
|
||||
static constexpr auto name = make_caster<T>::name;
|
||||
annotations()[key] = name.text;
|
||||
annotations()[key] = make_caster<T>::name.text;
|
||||
return {derived(), key};
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user