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'
|
* as argument without exposing the entirely of the 'Request_stream'
|
||||||
* to the called code.
|
* to the called code.
|
||||||
*/
|
*/
|
||||||
class Payload
|
class Payload : Noncopyable
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ class Block::Request_stream : Genode::Noncopyable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class Ack
|
class Ack : Noncopyable
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue