Enforce comment with static assert (#6699)

This commit is contained in:
Andrew Noyes 2022-03-28 12:36:52 -07:00 committed by GitHub
parent 3cf0ea5950
commit d58777351b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -52,4 +52,7 @@ enum WellKnownEndpoints {
WLTOKEN_RESERVED_COUNT // 23
};
static_assert(WLTOKEN_PROTOCOL_INFO ==
10); // Enforce that the value of this endpoint does not change per comment above.
#endif