Test actual object. Mini-review suggestion from Rob Stewart.

This commit is contained in:
Beman
2015-02-17 09:46:59 -05:00
parent b0ef03b9d6
commit 8b7a140f0e

View File

@@ -38,9 +38,9 @@ namespace
int main(int, char* []) int main(int, char* [])
{ {
BOOST_STATIC_ASSERT(sizeof(header) == 16U); // reality check
header h; header h;
BOOST_STATIC_ASSERT(sizeof(h) == 16U); // reality check
h.file_code = 0x01020304; h.file_code = 0x01020304;
h.file_length = sizeof(header); h.file_length = sizeof(header);