- copied constexpr declarations plus a few fixed in utility code and fixed a few places where this triggered a compile error now.
This commit is contained in:
parent
b66349d4cf
commit
db895b43b2
9 changed files with 49 additions and 28 deletions
|
|
@ -1527,6 +1527,16 @@ public:
|
|||
{
|
||||
memset(&bytes[0], on ? -1 : 0, sizeof(bytes));
|
||||
}
|
||||
|
||||
// These are for utilities that need access to the raw storage. The serializer needs this to do its work, for example.
|
||||
uint8_t* Storage()
|
||||
{
|
||||
return bytes;
|
||||
}
|
||||
unsigned StorageSize() const
|
||||
{
|
||||
return sizeof(bytes);
|
||||
}
|
||||
};
|
||||
|
||||
// A wrapper to externally stored data.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue