[Orxonox-commit 1124] r5845 - code/branches/core5/src/libraries/core
rgrieder at orxonox.net
rgrieder at orxonox.net
Thu Oct 1 09:52:39 CEST 2009
Author: rgrieder
Date: 2009-10-01 09:52:39 +0200 (Thu, 01 Oct 2009)
New Revision: 5845
Modified:
code/branches/core5/src/libraries/core/Game.cc
Log:
Build fix (again a problem with temporaries and references, but different).
Modified: code/branches/core5/src/libraries/core/Game.cc
===================================================================
--- code/branches/core5/src/libraries/core/Game.cc 2009-09-30 18:47:40 UTC (rev 5844)
+++ code/branches/core5/src/libraries/core/Game.cc 2009-10-01 07:52:39 UTC (rev 5845)
@@ -477,7 +477,8 @@
stateStrings.push_back(std::make_pair("", -1));
// Parse elements recursively
- parseStates(stateStrings.begin(), this->rootStateNode_);
+ std::vector<std::pair<std::string, int> >::const_iterator begin = stateStrings.begin();
+ parseStates(begin, this->rootStateNode_);
}
/*** Internal ***/
More information about the Orxonox-commit
mailing list