Skip to content

Commit f2261f1

Browse files
pre-commit-ci[bot]rwgk
authored andcommitted
style: pre-commit fixes
1 parent 29ee094 commit f2261f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/pybind11/detail/type_caster_base.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,10 +1006,11 @@ class type_caster_base : public type_caster_generic {
10061006
static Constructor make_move_constructor(...) { return nullptr; }
10071007
};
10081008

1009-
PYBIND11_NOINLINE std::string type_info_description(const std::type_info& ti) {
1009+
PYBIND11_NOINLINE std::string type_info_description(const std::type_info &ti) {
10101010
if (auto *type_data = get_type_info(ti)) {
10111011
handle th((PyObject *) type_data->type);
1012-
return th.attr("__module__").cast<std::string>() + '.' + th.attr("__qualname__").cast<std::string>();
1012+
return th.attr("__module__").cast<std::string>() + '.'
1013+
+ th.attr("__qualname__").cast<std::string>();
10131014
} else {
10141015
return clean_type_id(ti.name());
10151016
}

0 commit comments

Comments
 (0)