mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-22 13:07:15 +00:00
PowerUtils: allow constructing null pointers with xpointer
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user