mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-04-19 10:51:18 +00:00
PowerUtils: allow constructing null pointers with xpointer
This commit is contained in:
parent
62e3188a81
commit
4357a55eff
@ -140,9 +140,12 @@ struct xpointer
|
||||
{
|
||||
be<uint32_t> ptr;
|
||||
|
||||
xpointer() : ptr(0)
|
||||
{
|
||||
}
|
||||
|
||||
xpointer(T* ptr) : ptr((uint32_t)ptr)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
T* get() const
|
||||
|
Loading…
x
Reference in New Issue
Block a user