History

fix for stats grab from iterator

Stephen Birarda committed 11 years ago

Commit e5967331 parent e4849d21 file · +1 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -3941,7 +3941,7 @@ int Application::processOctreeStats(NLPacket& packet, SharedNodePointer sendingN · 3940 unmodified lines
39413941 _octreeSceneStatsLock.lockForWrite();
39423942 auto it = _octreeServerSceneStats.find(nodeUUID);
39433943 if (it != _octreeServerSceneStats.end()) {
3944− octreeStats = &it.value();
3944+ octreeStats = &it->second;
39453945 statsMessageLength = octreeStats->unpackFromPacket(packet);
39463946 } else {
39473947 OctreeSceneStats temp;