mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 02:01:38 +00:00
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__
|
||||
#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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user