History

foreach spacing and reference repairs

Stephen Birarda committed 12 years ago

Commit 8676ac31 parent fa0138313 files · +37 −37Browse files

Showing the changes to interface/src/DataServerClient.cpp (1 of 13 files). Show all

Unified · Split

interface/src/DataServerClient.cpp+2−2
@@ -145,7 +145,7 @@ void DataServerClient::processSendFromDataServer(unsigned char* packetData, int · 144 unmodified lines
145 } else {145 } else {
146 // mesh URL for a UUID, find avatar in our list146 // 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 if (node->getLinkedData() != NULL && node->getType() == NODE_TYPE_AGENT) {149 if (node->getLinkedData() != NULL && node->getType() == NODE_TYPE_AGENT) {
150 Avatar* avatar = (Avatar *) node->getLinkedData();150 Avatar* avatar = (Avatar *) node->getLinkedData();
151 151
@@ -163,7 +163,7 @@ void DataServerClient::processSendFromDataServer(unsigned char* packetData, int · 11 unmodified lines
163 Application::getInstance()->getProfile()->setSkeletonModelURL(QUrl(valueList[i]));163 Application::getInstance()->getProfile()->setSkeletonModelURL(QUrl(valueList[i]));
164 } else {164 } else {
165 // skeleton URL for a UUID, find avatar in our list165 // 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 if (node->getLinkedData() != NULL && node->getType() == NODE_TYPE_AGENT) {167 if (node->getLinkedData() != NULL && node->getType() == NODE_TYPE_AGENT) {
168 Avatar* avatar = (Avatar *) node->getLinkedData();168 Avatar* avatar = (Avatar *) node->getLinkedData();
169 169