diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/.clang-tidy | 1 | ||||
-rw-r--r-- | src/validation.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy index 39566c0cb7..84c9d5fb3a 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -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, diff --git a/src/validation.cpp b/src/validation.cpp index 5bf8bd70e2..e6def01db5 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -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."; } |