mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 16:35:28 +00:00
register set: make noncopyable
If a register set gets copied, the '_plain_access' of the copy references the plain access object of the original object. Ref #2196
This commit is contained in:
parent
bed28dfe49
commit
ecbb7534b9
@ -16,6 +16,7 @@
|
||||
|
||||
/* Genode includes */
|
||||
#include <util/register.h>
|
||||
#include <util/noncopyable.h>
|
||||
#include <base/exception.h>
|
||||
|
||||
namespace Genode {
|
||||
@ -83,7 +84,7 @@ struct Genode::Register_set_plain_access
|
||||
* 'Register_array_base' or 'Array_bitfield_base'.
|
||||
*/
|
||||
template <typename PLAIN_ACCESS>
|
||||
class Genode::Register_set
|
||||
class Genode::Register_set : Noncopyable
|
||||
{
|
||||
private:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user