diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-03-14 08:49:59 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-08 10:36:58 +0300 |
commit | 1551cea2d52cac403ff506a7cc955d8de8fd6f3e (patch) | |
tree | 63665a4ab090e2b3c3c27a0a359b71ad492f6c50 /src/qt/bitcoinaddressvalidator.h | |
parent | f54753293fe7355e4280944d766f22054b560ba1 (diff) |
refactor: Use override for non-final overriders
Diffstat (limited to 'src/qt/bitcoinaddressvalidator.h')
-rw-r--r-- | src/qt/bitcoinaddressvalidator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/bitcoinaddressvalidator.h b/src/qt/bitcoinaddressvalidator.h index 30d4a26d0e..52c06828a3 100644 --- a/src/qt/bitcoinaddressvalidator.h +++ b/src/qt/bitcoinaddressvalidator.h @@ -17,7 +17,7 @@ class BitcoinAddressEntryValidator : public QValidator public: explicit BitcoinAddressEntryValidator(QObject *parent); - State validate(QString &input, int &pos) const; + State validate(QString &input, int &pos) const override; }; /** Bitcoin address widget validator, checks for a valid bitcoin address. @@ -29,7 +29,7 @@ class BitcoinAddressCheckValidator : public QValidator public: explicit BitcoinAddressCheckValidator(QObject *parent); - State validate(QString &input, int &pos) const; + State validate(QString &input, int &pos) const override; }; #endif // BITCOIN_QT_BITCOINADDRESSVALIDATOR_H |