wallet: Prevent “overrides a member function but is not marked ‘override’” warnings #9764
pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2017_02_wallet_inconsistent_missing_override changing 1 files +11 −11-
laanwj commented at 10:38 am on February 15, 2017: memberBecause 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)
-
wallet: Prevent "overrides a member function but is not marked 'override'" 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 added the label Wallet on Feb 15, 2017
-
paveljanik commented at 10:49 am on February 15, 2017: contributor
This removes approx. 2000 lines from my build logs! ;-)
ACK https://github.com/bitcoin/bitcoin/pull/9764/commits/6c5427d24ca18ce01e46242876e24f68a9c72cc3
-
laanwj merged this on Feb 16, 2017
-
laanwj closed this on Feb 16, 2017
-
laanwj referenced this in commit f8af89a918 on Feb 16, 2017
-
codablock referenced this in commit d568b73b5e on Jan 31, 2018
-
codablock referenced this in commit 7dc7f94087 on Jan 31, 2018
-
codablock referenced this in commit 72c8eb3644 on Jan 31, 2018
-
codablock referenced this in commit 75421c37b6 on Feb 1, 2018
-
andvgal referenced this in commit aef4690bfe on Jan 6, 2019
-
CryptoCentric referenced this in commit 6004b06ad8 on Feb 28, 2019
-
CryptoCentric referenced this in commit 7a15bf033e on Mar 2, 2019
-
DrahtBot locked this on Sep 8, 2021
Labels
Wallet
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-19 00:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-19 00:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me