mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 13:09:42 +00:00
Fix gcc compile error.
This commit is contained in:
parent
4471fe771e
commit
fdc20c595d
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ bool CSVDoc::ViewManager::closeRequest (View *view)
|
|||
// NOTE: This method assumes that it is called only if the last document
|
||||
void CSVDoc::ViewManager::removeDocAndView (CSMDoc::Document *document)
|
||||
{
|
||||
for (std::vector<View *>::const_iterator iter (mViews.begin()); iter!=mViews.end(); ++iter)
|
||||
for (std::vector<View *>::iterator iter (mViews.begin()); iter!=mViews.end(); ++iter)
|
||||
{
|
||||
// the first match should also be the only match
|
||||
if((*iter)->getDocument() == document)
|
||||
|
|
Loading…
Reference in a new issue