mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 02:51:27 +00:00
Replace COMPILER_ASSERT with C++0B static_assert
This commit is contained in:
@ -171,7 +171,7 @@ enum EConnType {
|
||||
|
||||
kNumConnTypes
|
||||
};
|
||||
COMPILER_ASSERT_HEADER(EConnType, kNumConnTypes < 256);
|
||||
static_assert(kNumConnTypes <= 0xFF, "EConnType overflows uint8");
|
||||
|
||||
#define IS_TEXT_CONNTYPE(c) \
|
||||
(((int)(c)) == kConnTypeAdminInterface)
|
||||
|
Reference in New Issue
Block a user