mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-02 20:31:46 +00:00
Disallow copy constructors/assignments.
For classes containing pointers/state that should not be copied.
This commit is contained in:
@@ -49,6 +49,11 @@ public:
|
||||
ui::Context& context
|
||||
);
|
||||
|
||||
EventDispatcher(const EventDispatcher&) = delete;
|
||||
EventDispatcher(EventDispatcher&&) = delete;
|
||||
EventDispatcher& operator=(const EventDispatcher&) = delete;
|
||||
EventDispatcher& operator=(EventDispatcher&&) = delete;
|
||||
|
||||
void run();
|
||||
static void request_stop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user