Control: tags -1 patch

Hi Maintainer

The attached patch fixes the FTBFS with GCC 6.

Regards
Graham

Description: Fix FTBFS with GCC 6
 Removed the explicit provided type, so the compiler can deduce it by itself.
Bug: https://github.com/fifengine/fifengine/issues/887
Bug-Debian: https://bugs.debian.org/811858
Origin: upstream, https://github.com/fifengine/fifengine/commit/d117c71876fa8b02e8e85230e436681ce4527b2f
Author: Kilian Köppchen <kiliankoeppc...@googlemail.com>
Last-Update: 2016-05-28
--- a/engine/core/view/renderers/targetrenderer.cpp
+++ b/engine/core/view/renderers/targetrenderer.cpp
@@ -136,7 +136,7 @@
 		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;
 	}
@@ -149,7 +149,7 @@
 		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;
 	}

Reply via email to