mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-23 16:05:30 +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;
|
be<uint32_t> ptr;
|
||||||
|
|
||||||
|
xpointer() : ptr(0)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
xpointer(T* ptr) : ptr((uint32_t)ptr)
|
xpointer(T* ptr) : ptr((uint32_t)ptr)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
T* get() const
|
T* get() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user