mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-15 21:58:24 +00:00
committed by
Christian Helmuth
parent
7bed3967ae
commit
e370e08e01
@ -47,7 +47,7 @@ class Genode::Native_capability::Data : public Avl_node<Data>, Noncopyable
|
||||
uint8_t dec();
|
||||
addr_t kcap() const;
|
||||
|
||||
void* operator new (size_t size, Data* idx) { return idx; }
|
||||
void* operator new (__SIZE_TYPE__ size, Data* idx) { return idx; }
|
||||
void operator delete (void* idx) { memset(idx, 0, sizeof(Data)); }
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user