mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +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
@@ -170,8 +170,10 @@ public:
|
||||
|
||||
using sha256_t = unsigned_integer <256, std::size_t>;
|
||||
|
||||
#ifndef __INTELLISENSE__
|
||||
static_assert (sha256_t::bits == 256,
|
||||
"sha256_t must have 256 bits");
|
||||
#endif
|
||||
|
||||
} // ripple
|
||||
|
||||
|
||||
Reference in New Issue
Block a user