From 29fafcc1b28f27512715f28908fd00a946ba5d67 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Sat, 19 Jun 2021 16:51:09 -0700 Subject: [PATCH] Fixing clang-tidy error (related to PR #3049). (#3050) Example: ``` test_class_sh_unique_ptr_member.cpp:17:5: error: deleted member function should be public [modernize-use-equals-delete,-warnings-as-errors] pointee(const pointee &) = delete; ^ ``` --- tests/test_class_sh_unique_ptr_member.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_class_sh_unique_ptr_member.cpp b/tests/test_class_sh_unique_ptr_member.cpp index a34274a0c..ff33346ca 100644 --- a/tests/test_class_sh_unique_ptr_member.cpp +++ b/tests/test_class_sh_unique_ptr_member.cpp @@ -13,7 +13,6 @@ public: int get_int() const { return 213; } -private: pointee(const pointee &) = delete; pointee(pointee &&) = delete; pointee &operator=(const pointee &) = delete;