mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-06 04:02:16 +00:00
Disallow copy constructors/assignments.
For classes containing pointers/state that should not be copied.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user