Reduce duplicated code in IInheritable #12644

Closed
opened 2026-01-31 03:21:01 +00:00 by claunia · 0 comments
Owner

Originally created by @carlos-zamora on GitHub (Feb 18, 2021).

Originally assigned to: @carlos-zamora on GitHub.

Follow-up from #9079. In IInheritable.h, _get##name##OverrideSourceImpl and _get##name##Impl are both very similar. We can reduce duplicated code by implementing the parent walking in the base class.

Originally created by @carlos-zamora on GitHub (Feb 18, 2021). Originally assigned to: @carlos-zamora on GitHub. Follow-up from #9079. In `IInheritable.h`, `_get##name##OverrideSourceImpl` and `_get##name##Impl` are both very similar. We can reduce duplicated code by implementing the parent walking in the base class.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12644