Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make code gcc6 compatible. Fix #887
removed the explicit provided type, so the compiler can deduce it by itself
  • Loading branch information
Kilian Köppchen committed May 28, 2016
1 parent 16448d6 commit d117c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/core/view/renderers/targetrenderer.cpp
Expand Up @@ -136,7 +136,7 @@ namespace FIFE {
rj.discard = false;

std::pair<RenderJobMap::iterator, bool> ret =
m_targets.insert(std::make_pair<std::string, RenderJob>(name, rj));
m_targets.insert(std::make_pair(name, rj));

return ret.first->second.target;
}
Expand All @@ -149,7 +149,7 @@ namespace FIFE {
rj.discard = false;

std::pair<RenderJobMap::iterator, bool> ret =
m_targets.insert(std::make_pair<std::string, RenderJob>(image->getName(), rj));
m_targets.insert(std::make_pair(image->getName(), rj));

return ret.first->second.target;
}
Expand Down

0 comments on commit d117c71

Please sign in to comment.