mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-22 13:09:41 +00:00
white iterator loop to C++11 range-based for loop.
This commit is contained in:
parent
bccf36fdbc
commit
6a44cae572
1 changed files with 2 additions and 7 deletions
|
@ -816,13 +816,8 @@ float* CSVRender::PagedWorldspaceWidget::getCellAlteredHeight(const CSMWorld::Ce
|
||||||
|
|
||||||
void CSVRender::PagedWorldspaceWidget::resetAllAlteredHeights()
|
void CSVRender::PagedWorldspaceWidget::resetAllAlteredHeights()
|
||||||
{
|
{
|
||||||
std::map<CSMWorld::CellCoordinates, Cell *>::iterator iter (mCells.begin());
|
for (const auto& cell : mCells)
|
||||||
|
cell.second->resetAlteredHeights();
|
||||||
while (iter!=mCells.end())
|
|
||||||
{
|
|
||||||
iter->second->resetAlteredHeights();
|
|
||||||
++iter;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<osg::ref_ptr<CSVRender::TagBase> > CSVRender::PagedWorldspaceWidget::getSelection (
|
std::vector<osg::ref_ptr<CSVRender::TagBase> > CSVRender::PagedWorldspaceWidget::getSelection (
|
||||||
|
|
Loading…
Reference in a new issue