History

add readWithoutCopy for clarity in Packet read

Stephen Birarda committed 11 years ago

Commit 6860f3d1 parent 4696fc910 files · +22 −14Browse files

Showing the changes to assignment-client/src/AssignmentClientMonitor.cpp (1 of 10 files). Show all

Unified · Split

assignment-client/src/AssignmentClientMonitor.cpp+1−1
@@ -203,7 +203,7 @@ void AssignmentClientMonitor::checkSpares() { · 202 unmodified lines
203 203
204void AssignmentClientMonitor::handleChildStatusPacket(QSharedPointer<NLPacket> packet) {204void AssignmentClientMonitor::handleChildStatusPacket(QSharedPointer<NLPacket> packet) {
205 // read out the sender ID205 // read out the sender ID
206 QUuid senderID = QUuid::fromRfc4122(packet->read(NUM_BYTES_RFC4122_UUID));206 QUuid senderID = QUuid::fromRfc4122(packet->readWithoutCopy(NUM_BYTES_RFC4122_UUID));
207 207
208 auto nodeList = DependencyManager::get<NodeList>();208 auto nodeList = DependencyManager::get<NodeList>();
209 209