This repository was archived by the owner on Mar 25, 2025. It is now read-only.
Commit 25e654c
authored
Remove virtual from set_parent_for_children (#296)
* Remove virtual from set_parent_for_children (issue #296)
- set_parent_for_children is called only in the constructors. The
virtual keyword unnecessary and generates only confusion.
- Remove virtual from set_parent_for_children (issue #295)
- set_parent_in_children() visibility is now private
Co-authored-by: Tristan Carel <tristan.carel@epfl.ch>
fixes #2951 parent 54e41a8 commit 25e654c
2 files changed
Lines changed: 6 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | 351 | | |
360 | 352 | | |
361 | 353 | | |
| |||
714 | 706 | | |
715 | 707 | | |
716 | 708 | | |
| 709 | + | |
717 | 710 | | |
718 | | - | |
| 711 | + | |
719 | 712 | | |
720 | | - | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
721 | 716 | | |
722 | | - | |
| 717 | + | |
723 | 718 | | |
724 | 719 | | |
725 | 720 | | |
| |||
0 commit comments