NativeList default constructor
This commit is contained in:
parent
23b6a1f943
commit
b3ed0fa445
|
@ -13,6 +13,8 @@ namespace xe {
|
|||
namespace kernel {
|
||||
namespace util {
|
||||
|
||||
NativeList::NativeList() = default;
|
||||
|
||||
NativeList::NativeList(Memory* memory)
|
||||
: memory_(memory), head_(kInvalidPointer) {}
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ namespace util {
|
|||
|
||||
class NativeList {
|
||||
public:
|
||||
NativeList();
|
||||
explicit NativeList(Memory* memory);
|
||||
|
||||
void Insert(uint32_t list_entry_ptr);
|
||||
|
@ -41,7 +42,7 @@ class NativeList {
|
|||
const uint32_t kInvalidPointer = 0xE0FE0FFF;
|
||||
|
||||
private:
|
||||
Memory* memory_;
|
||||
Memory* memory_ = nullptr;
|
||||
uint32_t head_;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue