mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
os: make Block::Request_stream::Ack noncopyable
This is a safeguard against accidentally taking the 'Ack' interface as a value instead of a reference. The 'Payload' interface should also not be copied (and potentially stored) because it contains a pointer.
This commit is contained in:
parent
6763ac29d9
commit
4353c9e0f1
@ -33,7 +33,7 @@ class Block::Request_stream : Genode::Noncopyable
|
||||
* as argument without exposing the entirely of the 'Request_stream'
|
||||
* to the called code.
|
||||
*/
|
||||
class Payload
|
||||
class Payload : Noncopyable
|
||||
{
|
||||
private:
|
||||
|
||||
@ -237,7 +237,7 @@ class Block::Request_stream : Genode::Noncopyable
|
||||
}
|
||||
}
|
||||
|
||||
class Ack
|
||||
class Ack : Noncopyable
|
||||
{
|
||||
private:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user