Skip to content

refactor: Remove includes; backport 16659 - #4619

Merged
UdjinM6 merged 2 commits into
dashpay:developfrom
PastaPastaPasta:remove-includes
Dec 17, 2021
Merged

refactor: Remove includes; backport 16659#4619
UdjinM6 merged 2 commits into
dashpay:developfrom
PastaPastaPasta:remove-includes

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Member

No description provided.

084e17c Remove unused includes (practicalswift)

Pull request description:

  As requested by MarcoFalke in bitcoin#16273 (comment):

  This PR removes unused includes.

  Please note that in contrast to bitcoin#16273 I'm limiting the scope to the trivial cases of pure removals (i.e. no includes added) to make reviewing easier.

  I'm seeking "Concept ACK":s for this obviously non-urgent minor cleanup.

  Rationale:
  * Avoids unnecessary re-compiles in case of header changes.
  * Makes reasoning about code dependencies easier.
  * Reduces compile-time memory usage.
  * Reduces compilation time.
  * Warm fuzzy feeling of being lean :-)

ACKs for top commit:
  ryanofsky:
    Code review ACK 084e17c. PR only removes include lines and it still compiles. In the worst case someone might have to explicitly add an include later for something now included implicitly. But maybe some effort was taken to avoid this, and it wouldn't be a tragedy anyway.

Tree-SHA512: 89de56edc6ceea4696e9579bccff10c80080821685b9fb4e8c5ef593b6e43cf662f358788701bb09f84867693f66b2e4db035b92b522a0a775f50b7ecffd6a6d
@PastaPastaPasta PastaPastaPasta added this to the 18 milestone Dec 13, 2021
@PastaPastaPasta PastaPastaPasta changed the title Remove includes refactor: Remove includes; backport 16659 Dec 13, 2021
@PastaPastaPasta
PastaPastaPasta requested a review from kwvg December 16, 2021 17:08

@UdjinM6 UdjinM6 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one tiny suggestion + pls squash all the fixes into one "16659 followup" or smth like that

Comment thread src/qt/winshutdownmonitor.cpp Outdated
Signed-off-by: pasta <pasta@dashboost.org>
@PastaPastaPasta

Copy link
Copy Markdown
Member Author

Done

@UdjinM6 UdjinM6 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants