mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1629429 - Removing optional second argument in static_assert() r=sylvestre
The seconds argument for diagnostic message is optional from C++17 Differential Revision: https://phabricator.services.mozilla.com/D73556
This commit is contained in:
parent
a121521c76
commit
a285d5eb51
@ -123,8 +123,8 @@ static uintptr_t GetDesiredRegionSize() { return sysconf(_SC_PAGESIZE); }
|
||||
|
||||
#endif // system dependencies
|
||||
|
||||
static_assert(sizeof(uintptr_t) == 4 || sizeof(uintptr_t) == 8, "");
|
||||
static_assert(sizeof(uintptr_t) == sizeof(void*), "");
|
||||
static_assert((sizeof(uintptr_t) == 4 || sizeof(uintptr_t) == 8) &&
|
||||
(sizeof(uintptr_t) == sizeof(void*)));
|
||||
|
||||
static uintptr_t ReservePoisonArea(uintptr_t rgnsize) {
|
||||
if (sizeof(uintptr_t) == 8) {
|
||||
|
Loading…
Reference in New Issue
Block a user