Skip to content

Commit daf6ff3

Browse files
committed
Fix crash caused by 4 bytes pointer to member in Windows
1 parent 218858d commit daf6ff3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cpp/orm/binding/MemberPointer.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ void* castMemberPointer(T O::*memberPointer)
4343
T O::*memberp;
4444
void* voidp;
4545
};
46+
voidp = nullptr;
4647
memberp = memberPointer;
4748
return voidp;
4849
}

0 commit comments

Comments
 (0)