mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Replace COMPILER_ASSERT with C++0B static_assert
This commit is contained in:
@ -78,7 +78,7 @@ namespace pnNetCli {
|
||||
|
||||
***/
|
||||
|
||||
COMPILER_ASSERT(IS_POW2(kNetDiffieHellmanKeyBits));
|
||||
static_assert(IS_POW2(kNetDiffieHellmanKeyBits), "DH Key bit count is not a power of 2");
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
|
Reference in New Issue
Block a user