Genode::Connection: Mark as noncopyable

When an object derived from Genode::Connection is copied we had
strange issues. An example is that the first RPC invocation works
correctly but the second one blocks or even delivers incorrect data.

We can avoid this issue if the object is always passed by reference.
Ensure this by deriving from Genode::Noncopyable.
This commit is contained in:
Torsten Hilbrich 2014-03-13 09:30:25 +01:00 committed by Norman Feske
parent f988c254df
commit 0b7ea4abab
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ namespace Genode {
* Representation of an open connection to a service
*/
template <typename SESSION_TYPE>
class Connection
class Connection : public Noncopyable
{
public: