[PR #11820] Rename IInheritable::InsertParent to improve clarity of intent #28760

Open
opened 2026-01-31 09:30:35 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/11820

State: closed
Merged: Yes


This is a followup commit for 168d28b.
By renaming IInheritable::InsertParent(com_ptr) and
InsertParent(size_t, com_ptr) into AddLeastImportantParent(com_ptr)
and AddMostImportantParent(com_ptr) respectively, we can improve
the clarity of our code's intent without the need for comments.

PR Checklist

  • I work here
  • Tests added/passed
**Original Pull Request:** https://github.com/microsoft/terminal/pull/11820 **State:** closed **Merged:** Yes --- This is a followup commit for 168d28b. By renaming `IInheritable::InsertParent(com_ptr)` and `InsertParent(size_t, com_ptr)` into `AddLeastImportantParent(com_ptr)` and `AddMostImportantParent(com_ptr)` respectively, we can improve the clarity of our code's intent without the need for comments. ## PR Checklist * [x] I work here * [x] Tests added/passed
claunia added the pull-request label 2026-01-31 09:30:35 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28760