Skip to content
Snippets Groups Projects
Commit b0b6ee06 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Forbid copy constructor in CDev

parent 619433d3
No related branches found
No related tags found
No related merge requests found
......@@ -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&);
};
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment