util/HugeAllocator: make constructor explicit
This commit is contained in:
parent
5ce93d6fa8
commit
821480d329
|
@ -121,7 +121,7 @@ class HugeAllocation {
|
|||
public:
|
||||
HugeAllocation() = default;
|
||||
|
||||
HugeAllocation(size_t _size)
|
||||
explicit HugeAllocation(size_t _size)
|
||||
:data(HugeAllocate(_size)), size(_size) {}
|
||||
|
||||
HugeAllocation(HugeAllocation &&src) noexcept
|
||||
|
|
Loading…
Reference in New Issue