Resolve modernize-use-override

https://github.com/dtolnay/cxx/issues/500
This commit is contained in:
David Tolnay 2020-11-23 18:17:43 -08:00
parent 79076c7b71
commit 2714d2c98f
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 1 additions and 2 deletions

View File

@ -13,6 +13,5 @@ Checks:
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-special-member-functions,
-modernize-use-default-member-init,
-modernize-use-override,
-modernize-use-trailing-return-type,
HeaderFilterRegex: cxx\.h

View File

@ -250,7 +250,7 @@ class Error final : public std::exception {
public:
Error(const Error &);
Error(Error &&) noexcept;
~Error() noexcept;
~Error() noexcept override;
Error &operator=(const Error &);
Error &operator=(Error &&) noexcept;