mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
base: Make Signal_receiver noncopyable
This change prevents accidental copying of signal receivers via a compile error.
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user