diff --git a/isobus/src/can_message_data.cpp b/isobus/src/can_message_data.cpp index fd411ee5..24138efb 100644 --- a/isobus/src/can_message_data.cpp +++ b/isobus/src/can_message_data.cpp @@ -87,9 +87,9 @@ namespace isobus totalSize(size), callback(callback), parentPointer(parentPointer), + buffer(chunkSize), bufferSize(chunkSize) { - buffer.reserve(bufferSize); } std::size_t CANMessageDataCallback::size() const