forked from teamnwah/openmw-tes3coop
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
|
// NOTE: This method assumes that it is called only if the last document
|
||||||
void CSVDoc::ViewManager::removeDocAndView (CSMDoc::Document *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
|
// the first match should also be the only match
|
||||||
if((*iter)->getDocument() == document)
|
if((*iter)->getDocument() == document)
|
||||||
|
|
Loading…
Reference in a new issue