forked from boostorg/endian
Test actual object. Mini-review suggestion from Rob Stewart.
This commit is contained in:
1 parent
b0ef03b9d6
commit
8b7a140f0e
1 file changed
+2
-2
@@ -38,9 +38,9 @@ namespace
|
||||
|
||||
int main(int, char* [])
|
||||
{
|
||||
BOOST_STATIC_ASSERT(sizeof(header) == 16U); // reality check
|
||||
|
||||
header h;
|
||||
|
||||
BOOST_STATIC_ASSERT(sizeof(h) == 16U); // reality check
|
||||
|
||||
h.file_code = 0x01020304;
|
||||
h.file_length = sizeof(header);
|
||||
|
||||
Reference in new issue
Block a user