Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 121 files). Show all
Unified · Split
| @@ -167,8 +167,7 @@ bool MetavoxelSystem::PointVisitor::visit(MetavoxelInfo& info) { · 166 unmodified lines | ||
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | static QByteArray createDatagramHeader(const QUuid& sessionID) { |
| 170 | − QByteArray header(MAX_PACKET_HEADER_BYTES, 0); | |
| 171 | − populateTypeAndVersion(reinterpret_cast<unsigned char*>(header.data()), PACKET_TYPE_METAVOXEL_DATA); | |
| 170 | + QByteArray header = byteArrayWithPopluatedHeader(PacketTypeMetavoxelData); | |
| 172 | 171 | header += sessionID.toRfc4122(); |
| 173 | 172 | return header; |
| 174 | 173 | } |