Showing the changes to interface/src/DataServerClient.cpp (1 of 13 files). Show all
Unified · Split
| @@ -145,7 +145,7 @@ void DataServerClient::processSendFromDataServer(unsigned char* packetData, int · 144 unmodified lines | ||
| 145 | 145 | } else { |
| 146 | 146 | // mesh URL for a UUID, find avatar in our list |
| 147 | 147 | |
| 148 | − foreach(SharedNodePointer node, NodeList::getInstance()->getNodeHash()) { | |
| 148 | + foreach (const SharedNodePointer& node, NodeList::getInstance()->getNodeHash()) { | |
| 149 | 149 | if (node->getLinkedData() != NULL && node->getType() == NODE_TYPE_AGENT) { |
| 150 | 150 | Avatar* avatar = (Avatar *) node->getLinkedData(); |
| 151 | 151 | |
| @@ -163,7 +163,7 @@ void DataServerClient::processSendFromDataServer(unsigned char* packetData, int · 11 unmodified lines | ||
| 163 | 163 | Application::getInstance()->getProfile()->setSkeletonModelURL(QUrl(valueList[i])); |
| 164 | 164 | } else { |
| 165 | 165 | // skeleton URL for a UUID, find avatar in our list |
| 166 | − foreach(SharedNodePointer node, NodeList::getInstance()->getNodeHash()) { | |
| 166 | + foreach (const SharedNodePointer& node, NodeList::getInstance()->getNodeHash()) { | |
| 167 | 167 | if (node->getLinkedData() != NULL && node->getType() == NODE_TYPE_AGENT) { |
| 168 | 168 | Avatar* avatar = (Avatar *) node->getLinkedData(); |
| 169 | 169 | |