base: Make Signal_receiver noncopyable
This change prevents accidental copying of signal receivers via a compile error.
This commit is contained in:
parent
21462cdbd2
commit
4b4ba30498
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user