[ox] Move buildinfo and trace packages into std

This commit is contained in:
2019-02-23 23:02:25 -06:00
parent 57aa0d556c
commit 5a1d1c0a2f
25 changed files with 78 additions and 78 deletions

View File

@@ -65,7 +65,6 @@ Error MetalClawWriter::op(const char*, McStr val) {
bool fieldSet = false;
if (val.cap()) {
// write the length
typedef uint32_t StringLength;
if (m_buffIt + sizeof(StringLength) + val.bytes() < m_buffLen) {
*reinterpret_cast<LittleEndian<StringLength>*>(&m_buff[m_buffIt]) = static_cast<StringLength>(val.bytes());
m_buffIt += sizeof(StringLength);