Changeset 0c0f548


Ignore:
Timestamp:
May 7, 2019, 11:46:21 AM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
02fdb8e
Parents:
c6a90bf
Message:

fixed static_assertion which requires a message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    rc6a90bf r0c0f548  
    446446}; // description
    447447
    448 static_assert( sizeof( long_opts ) / sizeof( long_opts[0] ) - 1 == sizeof( description ) / sizeof( description[0] ) );
     448static_assert( sizeof( long_opts ) / sizeof( long_opts[0] ) - 1 == sizeof( description ) / sizeof( description[0] ), "Long opts and description must match" );
    449449
    450450static struct Printopts {
Note: See TracChangeset for help on using the changeset viewer.