Forbid copy constructor in CDev

This commit is contained in:
Lorenz Meier 2014-07-15 18:22:38 +02:00
parent 619433d369
commit b0b6ee0644
1 changed files with 5 additions and 0 deletions

View File

@ -240,6 +240,7 @@ private:
* @param context Pointer to the interrupted context.
*/
static void dev_interrupt(int irq, void *context);
};
/**
@ -469,6 +470,10 @@ private:
* @return OK, or -errno on error.
*/
int remove_poll_waiter(struct pollfd *fds);
/* do not allow copying this class */
CDev(const CDev&);
CDev operator=(const CDev&);
};
/**