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/VoxelSystem.cpp (1 of 13 files). Show all

Unified · Split

interface/src/VoxelSystem.cpp+1−1
@@ -1605,7 +1605,7 @@ void VoxelSystem::falseColorizeBySource() { · 1604 unmodified lines
16051605
16061606 // create a bunch of colors we'll use during colorization
16071607
1608− foreach(SharedNodePointer node, NodeList::getInstance()->getNodeHash()) {
1608+ foreach (const SharedNodePointer& node, NodeList::getInstance()->getNodeHash()) {
16091609 if (node->getType() == NODE_TYPE_VOXEL_SERVER) {
16101610 uint16_t nodeID = VoxelTreeElement::getSourceNodeUUIDKey(node->getUUID());
16111611 int groupColor = voxelServerCount % NUMBER_OF_COLOR_GROUPS;