Skip to content

Commit

Permalink
Fix Linux compile for certain versions of GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLubar committed Nov 23, 2017
1 parent 358b794 commit 6fddd1a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions population.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3039,7 +3039,7 @@ void Population::report(std::ostream & out, bool html)
{
out << AI::describe_unit(unit, html);
}
if (auto projectile = ref->getProjectile())
if (/*auto projectile =*/ ref->getProjectile())
{
out << "[not yet implemented]";
// TODO: describe projectiles
Expand All @@ -3062,22 +3062,22 @@ void Population::report(std::ostream & out, bool html)
out << toLower(enum_item_key(building->getType()));
}
}
if (auto entity = ref->getEntity())
if (/*auto entity =*/ ref->getEntity())
{
out << "[not yet implemented]";
// TODO: describe entities
}
if (auto artifact = ref->getArtifact())
if (/*auto artifact =*/ ref->getArtifact())
{
out << "[not yet implemented]";
// TODO: describe artifacts
}
if (auto nemesis = ref->getNemesis())
if (/*auto nemesis =*/ ref->getNemesis())
{
out << "[not yet implemented]";
// TODO: describe nemeses
}
if (auto event = ref->getEvent())
if (/*auto event =*/ ref->getEvent())
{
out << "[not yet implemented]";
// TODO: describe events
Expand Down

0 comments on commit 6fddd1a

Please sign in to comment.