Skip to content

Conversation

laanwj
Copy link
Member

@laanwj laanwj commented Feb 15, 2017

Because it is used inconsistently in a single class at least version 5.4.0 of g++ to complains about methods that don't use override. I get a ton of these warnings in everything that includes wallet.h. There is two ways to go about this: remove override from the methods having it, or add it to the methods missing it. I chose the second.
(a third would be to disable the warning completely or selectively, but I don't think that's called for)

…ide'" warnings

Because it is used inconsistently at least version 5.4.0 of g++ to
complains about methods that don't use override. There is two ways to go
about this: remove override from the methods having it, or add it to the
methods missing it. I chose the second.
@laanwj laanwj added the Wallet label Feb 15, 2017
@paveljanik
Copy link
Contributor

This removes approx. 2000 lines from my build logs! ;-)

ACK 6c5427d

@laanwj laanwj merged commit 6c5427d into bitcoin:master Feb 16, 2017
laanwj added a commit that referenced this pull request Feb 16, 2017
…marked 'override'" warnings

6c5427d wallet: Prevent "overrides a member function but is not marked 'override'" warnings (Wladimir J. van der Laan)
codablock pushed a commit to codablock/dash that referenced this pull request Feb 1, 2018
…is not marked 'override'" warnings

6c5427d wallet: Prevent "overrides a member function but is not marked 'override'" warnings (Wladimir J. van der Laan)
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
…is not marked 'override'" warnings

6c5427d wallet: Prevent "overrides a member function but is not marked 'override'" warnings (Wladimir J. van der Laan)
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Feb 28, 2019
…is not marked 'override'" warnings

6c5427d wallet: Prevent "overrides a member function but is not marked 'override'" warnings (Wladimir J. van der Laan)
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Mar 2, 2019
…is not marked 'override'" warnings

6c5427d wallet: Prevent "overrides a member function but is not marked 'override'" warnings (Wladimir J. van der Laan)
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants