diff --git a/serialize/SerialBufferAdapter.cpp b/serialize/SerialBufferAdapter.cpp index ad4ec358..e409686f 100644 --- a/serialize/SerialBufferAdapter.cpp +++ b/serialize/SerialBufferAdapter.cpp @@ -12,7 +12,7 @@ SerialBufferAdapter::SerialBufferAdapter(const uint8_t* buffer, template SerialBufferAdapter::SerialBufferAdapter(uint8_t* buffer, count_t bufferLength, bool serializeLength) : - serializeLength(serializeLength), buffer(buffer), constBuffer(buffer), + serializeLength(serializeLength), constBuffer(buffer), buffer(buffer), bufferLength(bufferLength) {}