Bug 914826 - part 1 - use static_assert instead of COMPILE_ASSERT in IPCMessageStart.h; r=ehsan

This commit is contained in:
Nathan Froyd 2013-09-10 15:07:10 -04:00
parent 8aa87ed7e6
commit 515c39f6fa

View File

@ -164,7 +164,7 @@ print >>ipcmsgstart, """
LastMsgIndex
};
COMPILE_ASSERT(LastMsgIndex <= 65536, need_to_update_IPC_MESSAGE_MACRO);
static_assert(LastMsgIndex <= 65536, "need to update IPC_MESSAGE_MACRO");
#endif // ifndef IPCMessageStart_h
"""