Add static asserts to ensure CONTINUE_EXECUTION doesn't collide

This commit is contained in:
Jack Grigg
2018-04-12 18:11:46 -06:00
parent 3b26f5c361
commit abf5dd31af

View File

@@ -68,6 +68,10 @@ public:
//
static int AppInitRPC(int argc, char* argv[])
{
static_assert(CONTINUE_EXECUTION != EXIT_FAILURE,
"CONTINUE_EXECUTION should be different from EXIT_FAILURE");
static_assert(CONTINUE_EXECUTION != EXIT_SUCCESS,
"CONTINUE_EXECUTION should be different from EXIT_SUCCESS");
//
// Parameters
//