mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 16:37:13 +00:00
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; ^ ```
This commit is contained in:
parent
7f41bea169
commit
29fafcc1b2
@ -13,7 +13,6 @@ public:
|
||||
|
||||
int get_int() const { return 213; }
|
||||
|
||||
private:
|
||||
pointee(const pointee &) = delete;
|
||||
pointee(pointee &&) = delete;
|
||||
pointee &operator=(const pointee &) = delete;
|
||||
|
Loading…
Reference in New Issue
Block a user