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:
Norman Feske 2019-03-18 21:32:44 +01:00 committed by Christian Helmuth
parent 6763ac29d9
commit 4353c9e0f1
1 changed files with 2 additions and 2 deletions

View File

@ -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: