{"action":"opened","number":7137,"pull_request":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7137","id":195886314,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1ODg2MzE0","html_url":"https://github.com/dolphin-emu/dolphin/pull/7137","diff_url":"https://github.com/dolphin-emu/dolphin/pull/7137.diff","patch_url":"https://github.com/dolphin-emu/dolphin/pull/7137.patch","issue_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/7137","number":7137,"state":"open","locked":false,"title":"GameFile: Avoid copying map pairs in GetLanguages()","user":{"login":"lioncash","id":712067,"node_id":"MDQ6VXNlcjcxMjA2Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/712067?v=4","gravatar_id":"","url":"https://api.github.com/users/lioncash","html_url":"https://github.com/lioncash","followers_url":"https://api.github.com/users/lioncash/followers","following_url":"https://api.github.com/users/lioncash/following{/other_user}","gists_url":"https://api.github.com/users/lioncash/gists{/gist_id}","starred_url":"https://api.github.com/users/lioncash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lioncash/subscriptions","organizations_url":"https://api.github.com/users/lioncash/orgs","repos_url":"https://api.github.com/users/lioncash/repos","events_url":"https://api.github.com/users/lioncash/events{/privacy}","received_events_url":"https://api.github.com/users/lioncash/received_events","type":"User","site_admin":false},"body":"We can just reference the pairs instead of taking them by value, avoiding copying `std::string` instances that we don't even use.","created_at":"2018-06-19T16:27:28Z","updated_at":"2018-06-19T16:27:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7137/commits","review_comments_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7137/comments","review_comment_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/7137/comments","statuses_url":"https://api.github.com/repos/dolphin-emu/dolphin/statuses/d3ed750c9d72fe73ebcd40686500584fce3a238c","head":{"label":"lioncash:copy","ref":"copy","sha":"d3ed750c9d72fe73ebcd40686500584fce3a238c","user":{"login":"lioncash","id":712067,"node_id":"MDQ6VXNlcjcxMjA2Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/712067?v=4","gravatar_id":"","url":"https://api.github.com/users/lioncash","html_url":"https://github.com/lioncash","followers_url":"https://api.github.com/users/lioncash/followers","following_url":"https://api.github.com/users/lioncash/following{/other_user}","gists_url":"https://api.github.com/users/lioncash/gists{/gist_id}","starred_url":"https://api.github.com/users/lioncash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lioncash/subscriptions","organizations_url":"https://api.github.com/users/lioncash/orgs","repos_url":"https://api.github.com/users/lioncash/repos","events_url":"https://api.github.com/users/lioncash/events{/privacy}","received_events_url":"https://api.github.com/users/lioncash/received_events","type":"User","site_admin":false},"repo":{"id":16295983,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI5NTk4Mw==","name":"dolphin","full_name":"lioncash/dolphin","owner":{"login":"lioncash","id":712067,"node_id":"MDQ6VXNlcjcxMjA2Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/712067?v=4","gravatar_id":"","url":"https://api.github.com/users/lioncash","html_url":"https://github.com/lioncash","followers_url":"https://api.github.com/users/lioncash/followers","following_url":"https://api.github.com/users/lioncash/following{/other_user}","gists_url":"https://api.github.com/users/lioncash/gists{/gist_id}","starred_url":"https://api.github.com/users/lioncash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lioncash/subscriptions","organizations_url":"https://api.github.com/users/lioncash/orgs","repos_url":"https://api.github.com/users/lioncash/repos","events_url":"https://api.github.com/users/lioncash/events{/privacy}","received_events_url":"https://api.github.com/users/lioncash/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lioncash/dolphin","description":"Dolphin is a GameCube/Wii emulator, allowing you to play games for these two platforms on PC, with improvements.","fork":true,"url":"https://api.github.com/repos/lioncash/dolphin","forks_url":"https://api.github.com/repos/lioncash/dolphin/forks","keys_url":"https://api.github.com/repos/lioncash/dolphin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lioncash/dolphin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lioncash/dolphin/teams","hooks_url":"https://api.github.com/repos/lioncash/dolphin/hooks","issue_events_url":"https://api.github.com/repos/lioncash/dolphin/issues/events{/number}","events_url":"https://api.github.com/repos/lioncash/dolphin/events","assignees_url":"https://api.github.com/repos/lioncash/dolphin/assignees{/user}","branches_url":"https://api.github.com/repos/lioncash/dolphin/branches{/branch}","tags_url":"https://api.github.com/repos/lioncash/dolphin/tags","blobs_url":"https://api.github.com/repos/lioncash/dolphin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lioncash/dolphin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lioncash/dolphin/git/refs{/sha}","trees_url":"https://api.github.com/repos/lioncash/dolphin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lioncash/dolphin/statuses/{sha}","languages_url":"https://api.github.com/repos/lioncash/dolphin/languages","stargazers_url":"https://api.github.com/repos/lioncash/dolphin/stargazers","contributors_url":"https://api.github.com/repos/lioncash/dolphin/contributors","subscribers_url":"https://api.github.com/repos/lioncash/dolphin/subscribers","subscription_url":"https://api.github.com/repos/lioncash/dolphin/subscription","commits_url":"https://api.github.com/repos/lioncash/dolphin/commits{/sha}","git_commits_url":"https://api.github.com/repos/lioncash/dolphin/git/commits{/sha}","comments_url":"https://api.github.com/repos/lioncash/dolphin/comments{/number}","issue_comment_url":"https://api.github.com/repos/lioncash/dolphin/issues/comments{/number}","contents_url":"https://api.github.com/repos/lioncash/dolphin/contents/{+path}","compare_url":"https://api.github.com/repos/lioncash/dolphin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lioncash/dolphin/merges","archive_url":"https://api.github.com/repos/lioncash/dolphin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lioncash/dolphin/downloads","issues_url":"https://api.github.com/repos/lioncash/dolphin/issues{/number}","pulls_url":"https://api.github.com/repos/lioncash/dolphin/pulls{/number}","milestones_url":"https://api.github.com/repos/lioncash/dolphin/milestones{/number}","notifications_url":"https://api.github.com/repos/lioncash/dolphin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lioncash/dolphin/labels{/name}","releases_url":"https://api.github.com/repos/lioncash/dolphin/releases{/id}","deployments_url":"https://api.github.com/repos/lioncash/dolphin/deployments","created_at":"2014-01-27T23:00:05Z","updated_at":"2018-06-02T19:46:44Z","pushed_at":"2018-06-19T16:25:50Z","git_url":"git://github.com/lioncash/dolphin.git","ssh_url":"git@github.com:lioncash/dolphin.git","clone_url":"https://github.com/lioncash/dolphin.git","svn_url":"https://github.com/lioncash/dolphin","homepage":null,"size":321878,"stargazers_count":5,"watchers_count":5,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":1,"open_issues":0,"watchers":5,"default_branch":"master"}},"base":{"label":"dolphin-emu:master","ref":"master","sha":"18c3e0302f6bca8546516173f4cb3ab0aa896a90","user":{"login":"dolphin-emu","id":5050316,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwNTAzMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/5050316?v=4","gravatar_id":"","url":"https://api.github.com/users/dolphin-emu","html_url":"https://github.com/dolphin-emu","followers_url":"https://api.github.com/users/dolphin-emu/followers","following_url":"https://api.github.com/users/dolphin-emu/following{/other_user}","gists_url":"https://api.github.com/users/dolphin-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/dolphin-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolphin-emu/subscriptions","organizations_url":"https://api.github.com/users/dolphin-emu/orgs","repos_url":"https://api.github.com/users/dolphin-emu/repos","events_url":"https://api.github.com/users/dolphin-emu/events{/privacy}","received_events_url":"https://api.github.com/users/dolphin-emu/received_events","type":"Organization","site_admin":false},"repo":{"id":11577304,"node_id":"MDEwOlJlcG9zaXRvcnkxMTU3NzMwNA==","name":"dolphin","full_name":"dolphin-emu/dolphin","owner":{"login":"dolphin-emu","id":5050316,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwNTAzMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/5050316?v=4","gravatar_id":"","url":"https://api.github.com/users/dolphin-emu","html_url":"https://github.com/dolphin-emu","followers_url":"https://api.github.com/users/dolphin-emu/followers","following_url":"https://api.github.com/users/dolphin-emu/following{/other_user}","gists_url":"https://api.github.com/users/dolphin-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/dolphin-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolphin-emu/subscriptions","organizations_url":"https://api.github.com/users/dolphin-emu/orgs","repos_url":"https://api.github.com/users/dolphin-emu/repos","events_url":"https://api.github.com/users/dolphin-emu/events{/privacy}","received_events_url":"https://api.github.com/users/dolphin-emu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dolphin-emu/dolphin","description":"Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.","fork":false,"url":"https://api.github.com/repos/dolphin-emu/dolphin","forks_url":"https://api.github.com/repos/dolphin-emu/dolphin/forks","keys_url":"https://api.github.com/repos/dolphin-emu/dolphin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dolphin-emu/dolphin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dolphin-emu/dolphin/teams","hooks_url":"https://api.github.com/repos/dolphin-emu/dolphin/hooks","issue_events_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/events{/number}","events_url":"https://api.github.com/repos/dolphin-emu/dolphin/events","assignees_url":"https://api.github.com/repos/dolphin-emu/dolphin/assignees{/user}","branches_url":"https://api.github.com/repos/dolphin-emu/dolphin/branches{/branch}","tags_url":"https://api.github.com/repos/dolphin-emu/dolphin/tags","blobs_url":"https://api.github.com/repos/dolphin-emu/dolphin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dolphin-emu/dolphin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dolphin-emu/dolphin/git/refs{/sha}","trees_url":"https://api.github.com/repos/dolphin-emu/dolphin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dolphin-emu/dolphin/statuses/{sha}","languages_url":"https://api.github.com/repos/dolphin-emu/dolphin/languages","stargazers_url":"https://api.github.com/repos/dolphin-emu/dolphin/stargazers","contributors_url":"https://api.github.com/repos/dolphin-emu/dolphin/contributors","subscribers_url":"https://api.github.com/repos/dolphin-emu/dolphin/subscribers","subscription_url":"https://api.github.com/repos/dolphin-emu/dolphin/subscription","commits_url":"https://api.github.com/repos/dolphin-emu/dolphin/commits{/sha}","git_commits_url":"https://api.github.com/repos/dolphin-emu/dolphin/git/commits{/sha}","comments_url":"https://api.github.com/repos/dolphin-emu/dolphin/comments{/number}","issue_comment_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/comments{/number}","contents_url":"https://api.github.com/repos/dolphin-emu/dolphin/contents/{+path}","compare_url":"https://api.github.com/repos/dolphin-emu/dolphin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dolphin-emu/dolphin/merges","archive_url":"https://api.github.com/repos/dolphin-emu/dolphin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dolphin-emu/dolphin/downloads","issues_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues{/number}","pulls_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls{/number}","milestones_url":"https://api.github.com/repos/dolphin-emu/dolphin/milestones{/number}","notifications_url":"https://api.github.com/repos/dolphin-emu/dolphin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dolphin-emu/dolphin/labels{/name}","releases_url":"https://api.github.com/repos/dolphin-emu/dolphin/releases{/id}","deployments_url":"https://api.github.com/repos/dolphin-emu/dolphin/deployments","created_at":"2013-07-22T09:07:57Z","updated_at":"2018-06-19T11:50:49Z","pushed_at":"2018-06-19T16:21:36Z","git_url":"git://github.com/dolphin-emu/dolphin.git","ssh_url":"git@github.com:dolphin-emu/dolphin.git","clone_url":"https://github.com/dolphin-emu/dolphin.git","svn_url":"https://github.com/dolphin-emu/dolphin","homepage":"https://dolphin-emu.org/","size":364414,"stargazers_count":4434,"watchers_count":4434,"language":"C++","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1057,"mirror_url":null,"archived":false,"open_issues_count":106,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":1057,"open_issues":106,"watchers":4434,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7137"},"html":{"href":"https://github.com/dolphin-emu/dolphin/pull/7137"},"issue":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/issues/7137"},"comments":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/issues/7137/comments"},"review_comments":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7137/comments"},"review_comment":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7137/commits"},"statuses":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/statuses/d3ed750c9d72fe73ebcd40686500584fce3a238c"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"lioncash"}}