mirror of
https://github.com/glest/glest-source.git
synced 2025-09-06 22:10:39 +02:00
faction.cpp:change '>>' to '> >'
This commit is contained in:
@@ -1635,7 +1635,7 @@ namespace Glest
|
|||||||
// For each Resource type we store in the int a total consumed value, then
|
// For each Resource type we store in the int a total consumed value, then
|
||||||
// a vector of units that consume the resource type
|
// a vector of units that consume the resource type
|
||||||
std::map < const ResourceType *, std::pair < int,
|
std::map < const ResourceType *, std::pair < int,
|
||||||
std::vector < Unit * >>>resourceIntervalUsage;
|
std::vector <Unit *> > >resourceIntervalUsage;
|
||||||
|
|
||||||
// count up consumables usage for the interval
|
// count up consumables usage for the interval
|
||||||
for (int j = 0; j < getUnitCount (); ++j)
|
for (int j = 0; j < getUnitCount (); ++j)
|
||||||
@@ -1654,7 +1654,7 @@ namespace Glest
|
|||||||
resourceIntervalUsage.end ())
|
resourceIntervalUsage.end ())
|
||||||
{
|
{
|
||||||
resourceIntervalUsage[resource->getType ()] =
|
resourceIntervalUsage[resource->getType ()] =
|
||||||
make_pair < int, std::vector < Unit * >>(0,
|
make_pair < int, std::vector <Unit *> >(0,
|
||||||
std::vector <
|
std::vector <
|
||||||
Unit * >());
|
Unit * >());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user