Skip to content

Commit fa5ffc3

Browse files
committed
Automatic clang-format.
1 parent a428f57 commit fa5ffc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_class_sh_shared_ptr_copy_move.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ using FooSmHld = Foo<1>;
3434
} // namespace
3535
} // namespace pybind11_tests
3636

37-
PYBIND11_TYPE_CASTER_BASE_HOLDER(pybind11_tests::FooShPtr, std::shared_ptr<pybind11_tests::FooShPtr>)
37+
PYBIND11_TYPE_CASTER_BASE_HOLDER(pybind11_tests::FooShPtr,
38+
std::shared_ptr<pybind11_tests::FooShPtr>)
3839
PYBIND11_SMART_HOLDER_TYPE_CASTERS(pybind11_tests::FooSmHld)
3940

4041
namespace pybind11_tests {
@@ -45,8 +46,7 @@ TEST_SUBMODULE(class_sh_shared_ptr_copy_move, m) {
4546

4647
py::class_<FooShPtr, std::shared_ptr<FooShPtr>>(m, "FooShPtr")
4748
.def("get_history", &FooShPtr::get_history);
48-
py::classh<FooSmHld>(m, "FooSmHld")
49-
.def("get_history", &FooSmHld::get_history);
49+
py::classh<FooSmHld>(m, "FooSmHld").def("get_history", &FooSmHld::get_history);
5050

5151
m.def("test_ShPtr_copy", []() {
5252
auto o = std::make_shared<FooShPtr>("copy");

0 commit comments

Comments
 (0)