{"action":"created","issue":{"url":"https://api.github.com/repos/fifengine/fifengine/issues/887","repository_url":"https://api.github.com/repos/fifengine/fifengine","labels_url":"https://api.github.com/repos/fifengine/fifengine/issues/887/labels{/name}","comments_url":"https://api.github.com/repos/fifengine/fifengine/issues/887/comments","events_url":"https://api.github.com/repos/fifengine/fifengine/issues/887/events","html_url":"https://github.com/fifengine/fifengine/issues/887","id":154550770,"number":887,"title":"build with gcc 6","user":{"login":"grauschnabel","id":2233993,"avatar_url":"https://avatars.githubusercontent.com/u/2233993?v=3","gravatar_id":"","url":"https://api.github.com/users/grauschnabel","html_url":"https://github.com/grauschnabel","followers_url":"https://api.github.com/users/grauschnabel/followers","following_url":"https://api.github.com/users/grauschnabel/following{/other_user}","gists_url":"https://api.github.com/users/grauschnabel/gists{/gist_id}","starred_url":"https://api.github.com/users/grauschnabel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grauschnabel/subscriptions","organizations_url":"https://api.github.com/users/grauschnabel/orgs","repos_url":"https://api.github.com/users/grauschnabel/repos","events_url":"https://api.github.com/users/grauschnabel/events{/privacy}","received_events_url":"https://api.github.com/users/grauschnabel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"stubb","id":373318,"avatar_url":"https://avatars.githubusercontent.com/u/373318?v=3","gravatar_id":"","url":"https://api.github.com/users/stubb","html_url":"https://github.com/stubb","followers_url":"https://api.github.com/users/stubb/followers","following_url":"https://api.github.com/users/stubb/following{/other_user}","gists_url":"https://api.github.com/users/stubb/gists{/gist_id}","starred_url":"https://api.github.com/users/stubb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubb/subscriptions","organizations_url":"https://api.github.com/users/stubb/orgs","repos_url":"https://api.github.com/users/stubb/repos","events_url":"https://api.github.com/users/stubb/events{/privacy}","received_events_url":"https://api.github.com/users/stubb/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-05-12T18:31:48Z","updated_at":"2016-05-13T20:15:12Z","closed_at":null,"body":"Hi there,\r\n\r\nIt seems, this cannot be built with gcc 6.  Can you give me a fix?\r\n\r\nsee for exaple: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811858\r\n\r\nthis issue also exists on arch linux, where gcc 6 is default allready"},"comment":{"url":"https://api.github.com/repos/fifengine/fifengine/issues/comments/219148083","html_url":"https://github.com/fifengine/fifengine/issues/887#issuecomment-219148083","issue_url":"https://api.github.com/repos/fifengine/fifengine/issues/887","id":219148083,"user":{"login":"stubb","id":373318,"avatar_url":"https://avatars.githubusercontent.com/u/373318?v=3","gravatar_id":"","url":"https://api.github.com/users/stubb","html_url":"https://github.com/stubb","followers_url":"https://api.github.com/users/stubb/followers","following_url":"https://api.github.com/users/stubb/following{/other_user}","gists_url":"https://api.github.com/users/stubb/gists{/gist_id}","starred_url":"https://api.github.com/users/stubb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubb/subscriptions","organizations_url":"https://api.github.com/users/stubb/orgs","repos_url":"https://api.github.com/users/stubb/repos","events_url":"https://api.github.com/users/stubb/events{/privacy}","received_events_url":"https://api.github.com/users/stubb/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T20:15:12Z","updated_at":"2016-05-13T20:15:12Z","body":"``` diff\r\ndiff --git a/engine/core/view/renderers/targetrenderer.cpp b/engine/core/view/renderers/targetrenderer.cpp\r\nindex 9f677fa..dd47b61 100644\r\n--- a/engine/core/view/renderers/targetrenderer.cpp\r\n+++ b/engine/core/view/renderers/targetrenderer.cpp\r\n@@ -136,7 +136,7 @@ namespace FIFE {\r\n                rj.discard = false;\r\n \r\n                std::pair<RenderJobMap::iterator, bool> ret =\r\n-                       m_targets.insert(std::make_pair<std::string, RenderJob>(name, rj));\r\n+                       m_targets.insert(std::make_pair(name, rj));\r\n \r\n                return ret.first->second.target;\r\n        }\r\n@@ -149,7 +149,7 @@ namespace FIFE {\r\n                rj.discard = false;\r\n \r\n                std::pair<RenderJobMap::iterator, bool> ret =\r\n-                       m_targets.insert(std::make_pair<std::string, RenderJob>(image->getName(), rj));\r\n+                       m_targets.insert(std::make_pair(image->getName(), rj));\r\n \r\n                return ret.first->second.target;\r\n        }\r\n\r\n```\r\nI removed the explicit provided type, so the compiler can deduce it by itself."}}