Skip to content

Commit 80d617d

Browse files
committedJul 25, 2016
Ensure MemoryHeader is a POD.
Also get rid of the union because its sole purpose (assign one field, read another) is undefined behavior in C++. We define MemoryFlags as a single machine word type instead of using a struct of bitfields for the reasons given in the code comment.
1 parent 0c24d04 commit 80d617d

File tree

2 files changed

+492
-113
lines changed

2 files changed

+492
-113
lines changed
 

0 commit comments

Comments
 (0)
Please sign in to comment.