{"action":"created","comment":{"url":"https://api.github.com/repos/mapsme/omim/pulls/comments/41834883","id":41834883,"diff_hunk":"@@ -52,7 +52,8 @@ RoutingMapping::RoutingMapping(string const & countryFile, MwmSet * pIndex)\n       m_facadeCounter(0),\n       m_crossContextLoaded(0),\n       m_countryFile(countryFile),\n-      m_error(IRouter::ResultCode::RouteFileNotExist)\n+      m_error(IRouter::ResultCode::RouteFileNotExist),\n+      m_pIndex(pIndex)","path":"routing/routing_mapping.cpp","position":6,"original_position":6,"commit_id":"7af71e98efa11e5d8bfc61041d1e90594ccb84df","original_commit_id":"4f75a3cd6309e8ee35065c9e243ab240616c2110","user":{"login":"kshalnev","id":8023141,"avatar_url":"https://avatars.githubusercontent.com/u/8023141?v=3","gravatar_id":"","url":"https://api.github.com/users/kshalnev","html_url":"https://github.com/kshalnev","followers_url":"https://api.github.com/users/kshalnev/followers","following_url":"https://api.github.com/users/kshalnev/following{/other_user}","gists_url":"https://api.github.com/users/kshalnev/gists{/gist_id}","starred_url":"https://api.github.com/users/kshalnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshalnev/subscriptions","organizations_url":"https://api.github.com/users/kshalnev/orgs","repos_url":"https://api.github.com/users/kshalnev/repos","events_url":"https://api.github.com/users/kshalnev/events{/privacy}","received_events_url":"https://api.github.com/users/kshalnev/received_events","type":"User","site_admin":false},"body":"может в конструктор передать MwmSet & index, а уже в теле конструктора от него взять адрес m_pIndex(&index), тогда и проверять на nullptr не надо будет","created_at":"2015-10-13T07:37:16Z","updated_at":"2015-10-13T07:37:16Z","html_url":"https://github.com/mapsme/omim/pull/177#discussion_r41834883","pull_request_url":"https://api.github.com/repos/mapsme/omim/pulls/177","_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments/41834883"},"html":{"href":"https://github.com/mapsme/omim/pull/177#discussion_r41834883"},"pull_request":{"href":"https://api.github.com/repos/mapsme/omim/pulls/177"}}},"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/177","id":47280134,"html_url":"https://github.com/mapsme/omim/pull/177","diff_url":"https://github.com/mapsme/omim/pull/177.diff","patch_url":"https://github.com/mapsme/omim/pull/177.patch","issue_url":"https://api.github.com/repos/mapsme/omim/issues/177","number":177,"state":"open","locked":false,"title":"[routing] Reduce file handles usage on crossmwm routing.","user":{"login":"gardster","id":1862559,"avatar_url":"https://avatars.githubusercontent.com/u/1862559?v=3","gravatar_id":"","url":"https://api.github.com/users/gardster","html_url":"https://github.com/gardster","followers_url":"https://api.github.com/users/gardster/followers","following_url":"https://api.github.com/users/gardster/following{/other_user}","gists_url":"https://api.github.com/users/gardster/gists{/gist_id}","starred_url":"https://api.github.com/users/gardster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gardster/subscriptions","organizations_url":"https://api.github.com/users/gardster/orgs","repos_url":"https://api.github.com/users/gardster/repos","events_url":"https://api.github.com/users/gardster/events{/privacy}","received_events_url":"https://api.github.com/users/gardster/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-09T14:45:25Z","updated_at":"2015-10-13T07:37:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3624b24b7e5866bbe115fa38b484db48da4ae2db","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapsme/omim/pulls/177/commits","review_comments_url":"https://api.github.com/repos/mapsme/omim/pulls/177/comments","review_comment_url":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/177/comments","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/7af71e98efa11e5d8bfc61041d1e90594ccb84df","head":{"label":"gardster:handle_free","ref":"handle_free","sha":"7af71e98efa11e5d8bfc61041d1e90594ccb84df","user":{"login":"gardster","id":1862559,"avatar_url":"https://avatars.githubusercontent.com/u/1862559?v=3","gravatar_id":"","url":"https://api.github.com/users/gardster","html_url":"https://github.com/gardster","followers_url":"https://api.github.com/users/gardster/followers","following_url":"https://api.github.com/users/gardster/following{/other_user}","gists_url":"https://api.github.com/users/gardster/gists{/gist_id}","starred_url":"https://api.github.com/users/gardster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gardster/subscriptions","organizations_url":"https://api.github.com/users/gardster/orgs","repos_url":"https://api.github.com/users/gardster/repos","events_url":"https://api.github.com/users/gardster/events{/privacy}","received_events_url":"https://api.github.com/users/gardster/received_events","type":"User","site_admin":false},"repo":{"id":43428017,"name":"omim","full_name":"gardster/omim","owner":{"login":"gardster","id":1862559,"avatar_url":"https://avatars.githubusercontent.com/u/1862559?v=3","gravatar_id":"","url":"https://api.github.com/users/gardster","html_url":"https://github.com/gardster","followers_url":"https://api.github.com/users/gardster/followers","following_url":"https://api.github.com/users/gardster/following{/other_user}","gists_url":"https://api.github.com/users/gardster/gists{/gist_id}","starred_url":"https://api.github.com/users/gardster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gardster/subscriptions","organizations_url":"https://api.github.com/users/gardster/orgs","repos_url":"https://api.github.com/users/gardster/repos","events_url":"https://api.github.com/users/gardster/events{/privacy}","received_events_url":"https://api.github.com/users/gardster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gardster/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":true,"url":"https://api.github.com/repos/gardster/omim","forks_url":"https://api.github.com/repos/gardster/omim/forks","keys_url":"https://api.github.com/repos/gardster/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gardster/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gardster/omim/teams","hooks_url":"https://api.github.com/repos/gardster/omim/hooks","issue_events_url":"https://api.github.com/repos/gardster/omim/issues/events{/number}","events_url":"https://api.github.com/repos/gardster/omim/events","assignees_url":"https://api.github.com/repos/gardster/omim/assignees{/user}","branches_url":"https://api.github.com/repos/gardster/omim/branches{/branch}","tags_url":"https://api.github.com/repos/gardster/omim/tags","blobs_url":"https://api.github.com/repos/gardster/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gardster/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gardster/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/gardster/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gardster/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/gardster/omim/languages","stargazers_url":"https://api.github.com/repos/gardster/omim/stargazers","contributors_url":"https://api.github.com/repos/gardster/omim/contributors","subscribers_url":"https://api.github.com/repos/gardster/omim/subscribers","subscription_url":"https://api.github.com/repos/gardster/omim/subscription","commits_url":"https://api.github.com/repos/gardster/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/gardster/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/gardster/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/gardster/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/gardster/omim/contents/{+path}","compare_url":"https://api.github.com/repos/gardster/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gardster/omim/merges","archive_url":"https://api.github.com/repos/gardster/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gardster/omim/downloads","issues_url":"https://api.github.com/repos/gardster/omim/issues{/number}","pulls_url":"https://api.github.com/repos/gardster/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/gardster/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/gardster/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gardster/omim/labels{/name}","releases_url":"https://api.github.com/repos/gardster/omim/releases{/id}","created_at":"2015-09-30T10:57:47Z","updated_at":"2015-09-30T10:59:59Z","pushed_at":"2015-10-12T18:53:30Z","git_url":"git://github.com/gardster/omim.git","ssh_url":"git@github.com:gardster/omim.git","clone_url":"https://github.com/gardster/omim.git","svn_url":"https://github.com/gardster/omim","homepage":null,"size":1766172,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mapsme:master","ref":"master","sha":"f4082a8ef7f6a7057f66afb7369101bc59937cd7","user":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars.githubusercontent.com/u/14185141?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"repo":{"id":42798033,"name":"omim","full_name":"mapsme/omim","owner":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars.githubusercontent.com/u/14185141?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapsme/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":false,"url":"https://api.github.com/repos/mapsme/omim","forks_url":"https://api.github.com/repos/mapsme/omim/forks","keys_url":"https://api.github.com/repos/mapsme/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapsme/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapsme/omim/teams","hooks_url":"https://api.github.com/repos/mapsme/omim/hooks","issue_events_url":"https://api.github.com/repos/mapsme/omim/issues/events{/number}","events_url":"https://api.github.com/repos/mapsme/omim/events","assignees_url":"https://api.github.com/repos/mapsme/omim/assignees{/user}","branches_url":"https://api.github.com/repos/mapsme/omim/branches{/branch}","tags_url":"https://api.github.com/repos/mapsme/omim/tags","blobs_url":"https://api.github.com/repos/mapsme/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapsme/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapsme/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapsme/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/mapsme/omim/languages","stargazers_url":"https://api.github.com/repos/mapsme/omim/stargazers","contributors_url":"https://api.github.com/repos/mapsme/omim/contributors","subscribers_url":"https://api.github.com/repos/mapsme/omim/subscribers","subscription_url":"https://api.github.com/repos/mapsme/omim/subscription","commits_url":"https://api.github.com/repos/mapsme/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapsme/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapsme/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapsme/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapsme/omim/contents/{+path}","compare_url":"https://api.github.com/repos/mapsme/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapsme/omim/merges","archive_url":"https://api.github.com/repos/mapsme/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapsme/omim/downloads","issues_url":"https://api.github.com/repos/mapsme/omim/issues{/number}","pulls_url":"https://api.github.com/repos/mapsme/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/mapsme/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/mapsme/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapsme/omim/labels{/name}","releases_url":"https://api.github.com/repos/mapsme/omim/releases{/id}","created_at":"2015-09-20T02:57:13Z","updated_at":"2015-10-13T07:35:08Z","pushed_at":"2015-10-13T05:40:37Z","git_url":"git://github.com/mapsme/omim.git","ssh_url":"git@github.com:mapsme/omim.git","clone_url":"https://github.com/mapsme/omim.git","svn_url":"https://github.com/mapsme/omim","homepage":null,"size":1788521,"stargazers_count":1269,"watchers_count":1269,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":39,"forks":127,"open_issues":39,"watchers":1269,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/177"},"html":{"href":"https://github.com/mapsme/omim/pull/177"},"issue":{"href":"https://api.github.com/repos/mapsme/omim/issues/177"},"comments":{"href":"https://api.github.com/repos/mapsme/omim/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/mapsme/omim/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapsme/omim/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/mapsme/omim/statuses/7af71e98efa11e5d8bfc61041d1e90594ccb84df"}}}}