mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-21 15:11:33 +00:00
removed use of c++11 auto
This commit is contained in:
parent
f55da17933
commit
abe25c5f66
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ namespace MWDialogue
|
||||||
void Journal::addEntry (const std::string& id, int index)
|
void Journal::addEntry (const std::string& id, int index)
|
||||||
{
|
{
|
||||||
// bail out of we already have heard this...
|
// bail out of we already have heard this...
|
||||||
auto infoId = JournalEntry::idFromIndex (id, index);
|
std::string infoId = JournalEntry::idFromIndex (id, index);
|
||||||
for (auto i = mJournal.begin (); i != mJournal.end (); ++i)
|
for (TEntryIter i = mJournal.begin (); i != mJournal.end (); ++i)
|
||||||
if (i->mTopic == id && i->mInfoId == infoId)
|
if (i->mTopic == id && i->mInfoId == infoId)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue