mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-01 00:45:29 +00:00
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:
parent
f988c254df
commit
0b7ea4abab
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user