mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 07:10:29 +00:00
Resolve modernize-use-override
https://github.com/dtolnay/cxx/issues/500
This commit is contained in:
parent
79076c7b71
commit
2714d2c98f
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user