mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 10:35:50 +00:00
Fix broken Intellisense (MSVC):
* MSVC Intellisense will ignore all file-level static_asserts.
This commit is contained in:
committed by
Nik Bougalis
parent
be9c955506
commit
d9ef5ef98f
@@ -564,9 +564,11 @@ inline std::ostream& operator<< (
|
||||
return out << to_string (u);
|
||||
}
|
||||
|
||||
#ifndef __INTELLISENSE__
|
||||
static_assert(sizeof(uint128) == 128/8, "There should be no padding bytes");
|
||||
static_assert(sizeof(uint160) == 160/8, "There should be no padding bytes");
|
||||
static_assert(sizeof(uint256) == 256/8, "There should be no padding bytes");
|
||||
#endif
|
||||
|
||||
} // rippled
|
||||
|
||||
|
||||
Reference in New Issue
Block a user