mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
Merge bitcoin/bitcoin#28090: validation: use noexcept instead of deprecated throw()
047daad4f5
clang-tidy: turn on modernize-use-noexcept (fanquake)85e9e1f802
validation: use noexcept instead of deprecated throw() (fanquake) Pull request description: We fixed this once before in https://github.com/bitcoin/bitcoin/pull/10965. Turn on https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-noexcept.html#modernize-use-noexcept. ACKs for top commit: MarcoFalke: lgtm ACK047daad4f5
sipa: utACK047daad4f5
Empact: utACK047daad4f5
stickies-v: ACK047daad4f5
Tree-SHA512: 949b0fe598d66583747853094db13f196b402000e601f8634e5a708b55454d29c5aa18eaf1f2420d3ccf10e3e524b7414ff3a6fe4cb431420bf749c22b2b8bab
This commit is contained in:
commit
673acab223
2 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ bugprone-argument-comment,
|
|||
bugprone-use-after-move,
|
||||
misc-unused-using-decls,
|
||||
modernize-use-default-member-init,
|
||||
modernize-use-noexcept,
|
||||
modernize-use-nullptr,
|
||||
performance-*,
|
||||
-performance-inefficient-string-concatenation,
|
||||
|
|
|
@ -5161,7 +5161,7 @@ static void FlushSnapshotToDisk(CCoinsViewCache& coins_cache, bool snapshot_load
|
|||
|
||||
struct StopHashingException : public std::exception
|
||||
{
|
||||
const char* what() const throw() override
|
||||
const char* what() const noexcept override
|
||||
{
|
||||
return "ComputeUTXOStats interrupted.";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue