Skip to content

Commit 5045e2e

Browse files
Skylion007henryiii
authored andcommitted
Does this fix it?
1 parent 60a2ab8 commit 5045e2e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_multiple_inheritance.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,10 @@ TEST_SUBMODULE(multiple_inheritance, m) {
230230
struct VanillaDictMix1 : Vanilla, WithDict {};
231231
struct VanillaDictMix2 : WithDict, Vanilla {};
232232
py::class_<WithDict>(m, "WithDict", py::dynamic_attr()).def(py::init<>());
233-
py::class_<VanillaDictMix1, Vanilla, WithDict>(m, "VanillaDictMix1").def(py::init<>());
234-
py::class_<VanillaDictMix2, WithDict, Vanilla>(m, "VanillaDictMix2").def(py::init<>());
233+
py::class_<VanillaDictMix1, Vanilla, WithDict>(m, "VanillaDictMix1", py::dynamic_attr())
234+
.def(py::init<>());
235+
py::class_<VanillaDictMix2, WithDict, Vanilla>(m, "VanillaDictMix2", py::dynamic_attr())
236+
.def(py::init<>());
235237

236238
// test_diamond_inheritance
237239
// Issue #959: segfault when constructing diamond inheritance instance

0 commit comments

Comments
 (0)