mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-28 03:03:59 -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
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue