Skip to content

Commit 29fafcc

Browse files
authored
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; ^ ```
1 parent 7f41bea commit 29fafcc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_class_sh_unique_ptr_member.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class pointee { // NOT copyable.
1313

1414
int get_int() const { return 213; }
1515

16-
private:
1716
pointee(const pointee &) = delete;
1817
pointee(pointee &&) = delete;
1918
pointee &operator=(const pointee &) = delete;

0 commit comments

Comments
 (0)