mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-01 21:22:15 -04:00
Disallow copy constructors/assignments.
For classes containing pointers/state that should not be copied.
This commit is contained in:
parent
4eb0facacb
commit
46b3d9d087
8 changed files with 39 additions and 0 deletions
|
@ -92,6 +92,8 @@ public:
|
|||
|
||||
NavigationView(const NavigationView&) = delete;
|
||||
NavigationView(NavigationView&&) = delete;
|
||||
NavigationView& operator=(const NavigationView&) = delete;
|
||||
NavigationView& operator=(NavigationView&&) = delete;
|
||||
|
||||
bool is_top() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue