mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-19 03:39:08 +00:00
Replace COMPILER_ASSERT with C++0B static_assert
This commit is contained in:
@ -60,7 +60,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
// This value is manually changed upon each branch so that client applications
|
||||
// built from this branch may not connect to servers built from another.
|
||||
#define BRANCH_ID 1
|
||||
COMPILER_ASSERT(BRANCH_ID != 0);
|
||||
static_assert(BRANCH_ID != 0, "BranchID cannot be 0");
|
||||
|
||||
#else
|
||||
|
||||
|
@ -58,7 +58,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
// This line must NEVER be modified manually; it is automatically updated
|
||||
// by the build server.
|
||||
#define BUILD_ID 912
|
||||
COMPILER_ASSERT(BUILD_ID != 0);
|
||||
static_assert(BUILD_ID != 0, "BuildID cannot be 0");
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
|
Reference in New Issue
Block a user