1
0
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:
2012-06-17 03:10:59 -04:00
parent 5d30f69957
commit 3667fb62e2
18 changed files with 23 additions and 33 deletions

View File

@ -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

View File

@ -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");
/*****************************************************************************