{"action":"created","comment":{"url":"https://api.github.com/repos/makar15/sanya_world/pulls/comments/28644628","id":28644628,"diff_hunk":"@@ -37,8 +33,12 @@ void City::addBarracks(){\n void City::setArea(double _area){\n \tCity::area = _area;\n }\n-void City::setGarrison(double _garrison){\n-\tCity::garrison = _garrison;\n+void City::setGarrison(list<Unit*>* _listUnits){","path":"ConsoleApplication12/City.cpp","position":25,"original_position":25,"commit_id":"bbf57780073d85f7cf4c5986ed0b4168ec0c5453","original_commit_id":"bbf57780073d85f7cf4c5986ed0b4168ec0c5453","user":{"login":"makar15","id":12000741,"avatar_url":"https://avatars.githubusercontent.com/u/12000741?v=3","gravatar_id":"","url":"https://api.github.com/users/makar15","html_url":"https://github.com/makar15","followers_url":"https://api.github.com/users/makar15/followers","following_url":"https://api.github.com/users/makar15/following{/other_user}","gists_url":"https://api.github.com/users/makar15/gists{/gist_id}","starred_url":"https://api.github.com/users/makar15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makar15/subscriptions","organizations_url":"https://api.github.com/users/makar15/orgs","repos_url":"https://api.github.com/users/makar15/repos","events_url":"https://api.github.com/users/makar15/events{/privacy}","received_events_url":"https://api.github.com/users/makar15/received_events","type":"User","site_admin":false},"body":"в одном случае указатель на список а в другом список\r\nсделай одинаково","created_at":"2015-04-18T14:51:15Z","updated_at":"2015-04-18T14:51:15Z","html_url":"https://github.com/makar15/sanya_world/pull/4#discussion_r28644628","pull_request_url":"https://api.github.com/repos/makar15/sanya_world/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/makar15/sanya_world/pulls/comments/28644628"},"html":{"href":"https://github.com/makar15/sanya_world/pull/4#discussion_r28644628"},"pull_request":{"href":"https://api.github.com/repos/makar15/sanya_world/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/makar15/sanya_world/pulls/4","id":33603160,"html_url":"https://github.com/makar15/sanya_world/pull/4","diff_url":"https://github.com/makar15/sanya_world/pull/4.diff","patch_url":"https://github.com/makar15/sanya_world/pull/4.patch","issue_url":"https://api.github.com/repos/makar15/sanya_world/issues/4","number":4,"state":"open","locked":false,"title":"List units","user":{"login":"makar15","id":12000741,"avatar_url":"https://avatars.githubusercontent.com/u/12000741?v=3","gravatar_id":"","url":"https://api.github.com/users/makar15","html_url":"https://github.com/makar15","followers_url":"https://api.github.com/users/makar15/followers","following_url":"https://api.github.com/users/makar15/following{/other_user}","gists_url":"https://api.github.com/users/makar15/gists{/gist_id}","starred_url":"https://api.github.com/users/makar15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makar15/subscriptions","organizations_url":"https://api.github.com/users/makar15/orgs","repos_url":"https://api.github.com/users/makar15/repos","events_url":"https://api.github.com/users/makar15/events{/privacy}","received_events_url":"https://api.github.com/users/makar15/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-18T14:49:38Z","updated_at":"2015-04-18T14:51:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makar15/sanya_world/pulls/4/commits","review_comments_url":"https://api.github.com/repos/makar15/sanya_world/pulls/4/comments","review_comment_url":"https://api.github.com/repos/makar15/sanya_world/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makar15/sanya_world/issues/4/comments","statuses_url":"https://api.github.com/repos/makar15/sanya_world/statuses/bbf57780073d85f7cf4c5986ed0b4168ec0c5453","head":{"label":"makar15:list_units","ref":"list_units","sha":"bbf57780073d85f7cf4c5986ed0b4168ec0c5453","user":{"login":"makar15","id":12000741,"avatar_url":"https://avatars.githubusercontent.com/u/12000741?v=3","gravatar_id":"","url":"https://api.github.com/users/makar15","html_url":"https://github.com/makar15","followers_url":"https://api.github.com/users/makar15/followers","following_url":"https://api.github.com/users/makar15/following{/other_user}","gists_url":"https://api.github.com/users/makar15/gists{/gist_id}","starred_url":"https://api.github.com/users/makar15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makar15/subscriptions","organizations_url":"https://api.github.com/users/makar15/orgs","repos_url":"https://api.github.com/users/makar15/repos","events_url":"https://api.github.com/users/makar15/events{/privacy}","received_events_url":"https://api.github.com/users/makar15/received_events","type":"User","site_admin":false},"repo":{"id":34142616,"name":"sanya_world","full_name":"makar15/sanya_world","owner":{"login":"makar15","id":12000741,"avatar_url":"https://avatars.githubusercontent.com/u/12000741?v=3","gravatar_id":"","url":"https://api.github.com/users/makar15","html_url":"https://github.com/makar15","followers_url":"https://api.github.com/users/makar15/followers","following_url":"https://api.github.com/users/makar15/following{/other_user}","gists_url":"https://api.github.com/users/makar15/gists{/gist_id}","starred_url":"https://api.github.com/users/makar15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makar15/subscriptions","organizations_url":"https://api.github.com/users/makar15/orgs","repos_url":"https://api.github.com/users/makar15/repos","events_url":"https://api.github.com/users/makar15/events{/privacy}","received_events_url":"https://api.github.com/users/makar15/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/makar15/sanya_world","description":"","fork":false,"url":"https://api.github.com/repos/makar15/sanya_world","forks_url":"https://api.github.com/repos/makar15/sanya_world/forks","keys_url":"https://api.github.com/repos/makar15/sanya_world/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makar15/sanya_world/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makar15/sanya_world/teams","hooks_url":"https://api.github.com/repos/makar15/sanya_world/hooks","issue_events_url":"https://api.github.com/repos/makar15/sanya_world/issues/events{/number}","events_url":"https://api.github.com/repos/makar15/sanya_world/events","assignees_url":"https://api.github.com/repos/makar15/sanya_world/assignees{/user}","branches_url":"https://api.github.com/repos/makar15/sanya_world/branches{/branch}","tags_url":"https://api.github.com/repos/makar15/sanya_world/tags","blobs_url":"https://api.github.com/repos/makar15/sanya_world/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makar15/sanya_world/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makar15/sanya_world/git/refs{/sha}","trees_url":"https://api.github.com/repos/makar15/sanya_world/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makar15/sanya_world/statuses/{sha}","languages_url":"https://api.github.com/repos/makar15/sanya_world/languages","stargazers_url":"https://api.github.com/repos/makar15/sanya_world/stargazers","contributors_url":"https://api.github.com/repos/makar15/sanya_world/contributors","subscribers_url":"https://api.github.com/repos/makar15/sanya_world/subscribers","subscription_url":"https://api.github.com/repos/makar15/sanya_world/subscription","commits_url":"https://api.github.com/repos/makar15/sanya_world/commits{/sha}","git_commits_url":"https://api.github.com/repos/makar15/sanya_world/git/commits{/sha}","comments_url":"https://api.github.com/repos/makar15/sanya_world/comments{/number}","issue_comment_url":"https://api.github.com/repos/makar15/sanya_world/issues/comments{/number}","contents_url":"https://api.github.com/repos/makar15/sanya_world/contents/{+path}","compare_url":"https://api.github.com/repos/makar15/sanya_world/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makar15/sanya_world/merges","archive_url":"https://api.github.com/repos/makar15/sanya_world/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makar15/sanya_world/downloads","issues_url":"https://api.github.com/repos/makar15/sanya_world/issues{/number}","pulls_url":"https://api.github.com/repos/makar15/sanya_world/pulls{/number}","milestones_url":"https://api.github.com/repos/makar15/sanya_world/milestones{/number}","notifications_url":"https://api.github.com/repos/makar15/sanya_world/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makar15/sanya_world/labels{/name}","releases_url":"https://api.github.com/repos/makar15/sanya_world/releases{/id}","created_at":"2015-04-17T22:17:31Z","updated_at":"2015-04-18T12:01:26Z","pushed_at":"2015-04-18T14:49:39Z","git_url":"git://github.com/makar15/sanya_world.git","ssh_url":"git@github.com:makar15/sanya_world.git","clone_url":"https://github.com/makar15/sanya_world.git","svn_url":"https://github.com/makar15/sanya_world","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"makar15:master","ref":"master","sha":"7f4c847c844536e5daea570ae223fa9bb8cc9eb4","user":{"login":"makar15","id":12000741,"avatar_url":"https://avatars.githubusercontent.com/u/12000741?v=3","gravatar_id":"","url":"https://api.github.com/users/makar15","html_url":"https://github.com/makar15","followers_url":"https://api.github.com/users/makar15/followers","following_url":"https://api.github.com/users/makar15/following{/other_user}","gists_url":"https://api.github.com/users/makar15/gists{/gist_id}","starred_url":"https://api.github.com/users/makar15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makar15/subscriptions","organizations_url":"https://api.github.com/users/makar15/orgs","repos_url":"https://api.github.com/users/makar15/repos","events_url":"https://api.github.com/users/makar15/events{/privacy}","received_events_url":"https://api.github.com/users/makar15/received_events","type":"User","site_admin":false},"repo":{"id":34142616,"name":"sanya_world","full_name":"makar15/sanya_world","owner":{"login":"makar15","id":12000741,"avatar_url":"https://avatars.githubusercontent.com/u/12000741?v=3","gravatar_id":"","url":"https://api.github.com/users/makar15","html_url":"https://github.com/makar15","followers_url":"https://api.github.com/users/makar15/followers","following_url":"https://api.github.com/users/makar15/following{/other_user}","gists_url":"https://api.github.com/users/makar15/gists{/gist_id}","starred_url":"https://api.github.com/users/makar15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makar15/subscriptions","organizations_url":"https://api.github.com/users/makar15/orgs","repos_url":"https://api.github.com/users/makar15/repos","events_url":"https://api.github.com/users/makar15/events{/privacy}","received_events_url":"https://api.github.com/users/makar15/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/makar15/sanya_world","description":"","fork":false,"url":"https://api.github.com/repos/makar15/sanya_world","forks_url":"https://api.github.com/repos/makar15/sanya_world/forks","keys_url":"https://api.github.com/repos/makar15/sanya_world/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makar15/sanya_world/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makar15/sanya_world/teams","hooks_url":"https://api.github.com/repos/makar15/sanya_world/hooks","issue_events_url":"https://api.github.com/repos/makar15/sanya_world/issues/events{/number}","events_url":"https://api.github.com/repos/makar15/sanya_world/events","assignees_url":"https://api.github.com/repos/makar15/sanya_world/assignees{/user}","branches_url":"https://api.github.com/repos/makar15/sanya_world/branches{/branch}","tags_url":"https://api.github.com/repos/makar15/sanya_world/tags","blobs_url":"https://api.github.com/repos/makar15/sanya_world/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makar15/sanya_world/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makar15/sanya_world/git/refs{/sha}","trees_url":"https://api.github.com/repos/makar15/sanya_world/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makar15/sanya_world/statuses/{sha}","languages_url":"https://api.github.com/repos/makar15/sanya_world/languages","stargazers_url":"https://api.github.com/repos/makar15/sanya_world/stargazers","contributors_url":"https://api.github.com/repos/makar15/sanya_world/contributors","subscribers_url":"https://api.github.com/repos/makar15/sanya_world/subscribers","subscription_url":"https://api.github.com/repos/makar15/sanya_world/subscription","commits_url":"https://api.github.com/repos/makar15/sanya_world/commits{/sha}","git_commits_url":"https://api.github.com/repos/makar15/sanya_world/git/commits{/sha}","comments_url":"https://api.github.com/repos/makar15/sanya_world/comments{/number}","issue_comment_url":"https://api.github.com/repos/makar15/sanya_world/issues/comments{/number}","contents_url":"https://api.github.com/repos/makar15/sanya_world/contents/{+path}","compare_url":"https://api.github.com/repos/makar15/sanya_world/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makar15/sanya_world/merges","archive_url":"https://api.github.com/repos/makar15/sanya_world/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makar15/sanya_world/downloads","issues_url":"https://api.github.com/repos/makar15/sanya_world/issues{/number}","pulls_url":"https://api.github.com/repos/makar15/sanya_world/pulls{/number}","milestones_url":"https://api.github.com/repos/makar15/sanya_world/milestones{/number}","notifications_url":"https://api.github.com/repos/makar15/sanya_world/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makar15/sanya_world/labels{/name}","releases_url":"https://api.github.com/repos/makar15/sanya_world/releases{/id}","created_at":"2015-04-17T22:17:31Z","updated_at":"2015-04-18T12:01:26Z","pushed_at":"2015-04-18T14:49:39Z","git_url":"git://github.com/makar15/sanya_world.git","ssh_url":"git@github.com:makar15/sanya_world.git","clone_url":"https://github.com/makar15/sanya_world.git","svn_url":"https://github.com/makar15/sanya_world","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makar15/sanya_world/pulls/4"},"html":{"href":"https://github.com/makar15/sanya_world/pull/4"},"issue":{"href":"https://api.github.com/repos/makar15/sanya_world/issues/4"},"comments":{"href":"https://api.github.com/repos/makar15/sanya_world/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/makar15/sanya_world/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/makar15/sanya_world/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makar15/sanya_world/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/makar15/sanya_world/statuses/bbf57780073d85f7cf4c5986ed0b4168ec0c5453"}}}}