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
1 changed files with 2 additions and 1 deletions

View File

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