Enable clang-tidy modernize-replace-auto-ptr

Official docs:

  This check replaces the uses of the deprecated class std::auto_ptr by
  std::unique_ptr (introduced in C++11). The transfer of ownership, done
  by the copy-constructor and the assignment operator, is changed to
  match std::unique_ptr usage by using explicit calls to std::move().
This commit is contained in:
Robert Schulze 2022-05-06 12:06:47 +02:00
parent 7036bc4e99
commit 9c51657821
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -97,7 +97,6 @@ Checks: '*,
-modernize-deprecated-headers,
-modernize-deprecated-ios-base-aliases,
-modernize-pass-by-value,
-modernize-replace-auto-ptr,
-modernize-replace-disallow-copy-and-assign-macro,
-modernize-return-braced-init-list,
-modernize-use-auto,