base: Make Signal_receiver noncopyable

This change prevents accidental copying of signal receivers via a
compile error.
This commit is contained in:
Norman Feske 2013-09-07 23:44:08 +02:00
parent 21462cdbd2
commit 4b4ba30498

View File

@ -17,6 +17,7 @@
#ifndef _INCLUDE__BASE__SIGNAL_H__ #ifndef _INCLUDE__BASE__SIGNAL_H__
#define _INCLUDE__BASE__SIGNAL_H__ #define _INCLUDE__BASE__SIGNAL_H__
#include <util/noncopyable.h>
#include <base/semaphore.h> #include <base/semaphore.h>
#include <signal_session/signal_session.h> #include <signal_session/signal_session.h>
@ -219,7 +220,7 @@ namespace Genode {
/** /**
* Signal receiver * Signal receiver
*/ */
class Signal_receiver class Signal_receiver : Noncopyable
{ {
private: private: