Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <[email protected]>
  • Loading branch information
mrjerryjohns and bzbarsky-apple authored Jun 24, 2022
1 parent 1b07296 commit 1abcf48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transport/SecureSessionTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ class SecureSessionTable
uint16_t mNumMatchingOnPeer;

static_assert(CHIP_CONFIG_SECURE_SESSION_POOL_SIZE <= std::numeric_limits<decltype(mNumMatchingOnFabric)>::max(),
"CHIP_CONFIG_SECURE_SESSION_POOL_SIZE must set to be less than or equal to 65535!");
"mNumMatchingOnFabric must be able to count up to CHIP_CONFIG_SECURE_SESSION_POOL_SIZE!");
static_assert(CHIP_CONFIG_SECURE_SESSION_POOL_SIZE <= std::numeric_limits<decltype(mNumMatchingOnPeer)>::max(),
"CHIP_CONFIG_SECURE_SESSION_POOL_SIZE must set to be less than or equal to 65535!");
"mNumMatchingOnPeer must be able to count up to CHIP_CONFIG_SECURE_SESSION_POOL_SIZE!");

friend class SecureSessionTable;
};
Expand Down

0 comments on commit 1abcf48

Please sign in to comment.