{"action":"created","comment":{"url":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/comments/24302558","id":24302558,"diff_hunk":"@@ -10,12 +10,33 @@ float Robot::getEnginePower()\n {\n     return enginePower;\n }\n+float Robot::getDepthToHold()\n+{\n+    return depthToHold;\n+}\n \n+int mark = 0;","path":"rovmodel/robot.cpp","position":9,"original_position":9,"commit_id":"30d658b464999cb48d17d7f49c39220adc32e505","original_commit_id":"30d658b464999cb48d17d7f49c39220adc32e505","user":{"login":"MChemodanov","id":906445,"avatar_url":"https://avatars.githubusercontent.com/u/906445?v=3","gravatar_id":"","url":"https://api.github.com/users/MChemodanov","html_url":"https://github.com/MChemodanov","followers_url":"https://api.github.com/users/MChemodanov/followers","following_url":"https://api.github.com/users/MChemodanov/following{/other_user}","gists_url":"https://api.github.com/users/MChemodanov/gists{/gist_id}","starred_url":"https://api.github.com/users/MChemodanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MChemodanov/subscriptions","organizations_url":"https://api.github.com/users/MChemodanov/orgs","repos_url":"https://api.github.com/users/MChemodanov/repos","events_url":"https://api.github.com/users/MChemodanov/events{/privacy}","received_events_url":"https://api.github.com/users/MChemodanov/received_events","type":"User","site_admin":false},"body":"Вот тут я совсем не понял, зачем нужен этот mark.\r\nК тому же так как ты его определил вообще нельзя делать, потому что ты сделал mark глобальной переменной, а значит все роботы будут менять эту переменную, что неизбежно приведет к ошибкам.","created_at":"2015-02-08T21:19:43Z","updated_at":"2015-02-08T21:19:43Z","html_url":"https://github.com/MChemodanov/RobotModel/pull/4#discussion_r24302558","pull_request_url":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/comments/24302558"},"html":{"href":"https://github.com/MChemodanov/RobotModel/pull/4#discussion_r24302558"},"pull_request":{"href":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/4","id":28886231,"html_url":"https://github.com/MChemodanov/RobotModel/pull/4","diff_url":"https://github.com/MChemodanov/RobotModel/pull/4.diff","patch_url":"https://github.com/MChemodanov/RobotModel/pull/4.patch","issue_url":"https://api.github.com/repos/MChemodanov/RobotModel/issues/4","number":4,"state":"open","locked":false,"title":"Добавлена функция удержания глубины.","user":{"login":"SystemChanger","id":9049617,"avatar_url":"https://avatars.githubusercontent.com/u/9049617?v=3","gravatar_id":"","url":"https://api.github.com/users/SystemChanger","html_url":"https://github.com/SystemChanger","followers_url":"https://api.github.com/users/SystemChanger/followers","following_url":"https://api.github.com/users/SystemChanger/following{/other_user}","gists_url":"https://api.github.com/users/SystemChanger/gists{/gist_id}","starred_url":"https://api.github.com/users/SystemChanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SystemChanger/subscriptions","organizations_url":"https://api.github.com/users/SystemChanger/orgs","repos_url":"https://api.github.com/users/SystemChanger/repos","events_url":"https://api.github.com/users/SystemChanger/events{/privacy}","received_events_url":"https://api.github.com/users/SystemChanger/received_events","type":"User","site_admin":false},"body":"+ Залит рабочий код (прошлый не компилировался).\r\n+ Убран лишний конструктор.","created_at":"2015-02-08T20:41:39Z","updated_at":"2015-02-08T21:19:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab2f4d4c7be8929f2e33fd6cf766f448bade69ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/4/commits","review_comments_url":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/4/comments","review_comment_url":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/comments/{number}","comments_url":"https://api.github.com/repos/MChemodanov/RobotModel/issues/4/comments","statuses_url":"https://api.github.com/repos/MChemodanov/RobotModel/statuses/30d658b464999cb48d17d7f49c39220adc32e505","head":{"label":"SystemChanger:master","ref":"master","sha":"30d658b464999cb48d17d7f49c39220adc32e505","user":{"login":"SystemChanger","id":9049617,"avatar_url":"https://avatars.githubusercontent.com/u/9049617?v=3","gravatar_id":"","url":"https://api.github.com/users/SystemChanger","html_url":"https://github.com/SystemChanger","followers_url":"https://api.github.com/users/SystemChanger/followers","following_url":"https://api.github.com/users/SystemChanger/following{/other_user}","gists_url":"https://api.github.com/users/SystemChanger/gists{/gist_id}","starred_url":"https://api.github.com/users/SystemChanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SystemChanger/subscriptions","organizations_url":"https://api.github.com/users/SystemChanger/orgs","repos_url":"https://api.github.com/users/SystemChanger/repos","events_url":"https://api.github.com/users/SystemChanger/events{/privacy}","received_events_url":"https://api.github.com/users/SystemChanger/received_events","type":"User","site_admin":false},"repo":{"id":29666113,"name":"RobotModel","full_name":"SystemChanger/RobotModel","owner":{"login":"SystemChanger","id":9049617,"avatar_url":"https://avatars.githubusercontent.com/u/9049617?v=3","gravatar_id":"","url":"https://api.github.com/users/SystemChanger","html_url":"https://github.com/SystemChanger","followers_url":"https://api.github.com/users/SystemChanger/followers","following_url":"https://api.github.com/users/SystemChanger/following{/other_user}","gists_url":"https://api.github.com/users/SystemChanger/gists{/gist_id}","starred_url":"https://api.github.com/users/SystemChanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SystemChanger/subscriptions","organizations_url":"https://api.github.com/users/SystemChanger/orgs","repos_url":"https://api.github.com/users/SystemChanger/repos","events_url":"https://api.github.com/users/SystemChanger/events{/privacy}","received_events_url":"https://api.github.com/users/SystemChanger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SystemChanger/RobotModel","description":"Simple OOP-robot model for education","fork":true,"url":"https://api.github.com/repos/SystemChanger/RobotModel","forks_url":"https://api.github.com/repos/SystemChanger/RobotModel/forks","keys_url":"https://api.github.com/repos/SystemChanger/RobotModel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SystemChanger/RobotModel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SystemChanger/RobotModel/teams","hooks_url":"https://api.github.com/repos/SystemChanger/RobotModel/hooks","issue_events_url":"https://api.github.com/repos/SystemChanger/RobotModel/issues/events{/number}","events_url":"https://api.github.com/repos/SystemChanger/RobotModel/events","assignees_url":"https://api.github.com/repos/SystemChanger/RobotModel/assignees{/user}","branches_url":"https://api.github.com/repos/SystemChanger/RobotModel/branches{/branch}","tags_url":"https://api.github.com/repos/SystemChanger/RobotModel/tags","blobs_url":"https://api.github.com/repos/SystemChanger/RobotModel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SystemChanger/RobotModel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SystemChanger/RobotModel/git/refs{/sha}","trees_url":"https://api.github.com/repos/SystemChanger/RobotModel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SystemChanger/RobotModel/statuses/{sha}","languages_url":"https://api.github.com/repos/SystemChanger/RobotModel/languages","stargazers_url":"https://api.github.com/repos/SystemChanger/RobotModel/stargazers","contributors_url":"https://api.github.com/repos/SystemChanger/RobotModel/contributors","subscribers_url":"https://api.github.com/repos/SystemChanger/RobotModel/subscribers","subscription_url":"https://api.github.com/repos/SystemChanger/RobotModel/subscription","commits_url":"https://api.github.com/repos/SystemChanger/RobotModel/commits{/sha}","git_commits_url":"https://api.github.com/repos/SystemChanger/RobotModel/git/commits{/sha}","comments_url":"https://api.github.com/repos/SystemChanger/RobotModel/comments{/number}","issue_comment_url":"https://api.github.com/repos/SystemChanger/RobotModel/issues/comments/{number}","contents_url":"https://api.github.com/repos/SystemChanger/RobotModel/contents/{+path}","compare_url":"https://api.github.com/repos/SystemChanger/RobotModel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SystemChanger/RobotModel/merges","archive_url":"https://api.github.com/repos/SystemChanger/RobotModel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SystemChanger/RobotModel/downloads","issues_url":"https://api.github.com/repos/SystemChanger/RobotModel/issues{/number}","pulls_url":"https://api.github.com/repos/SystemChanger/RobotModel/pulls{/number}","milestones_url":"https://api.github.com/repos/SystemChanger/RobotModel/milestones{/number}","notifications_url":"https://api.github.com/repos/SystemChanger/RobotModel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SystemChanger/RobotModel/labels{/name}","releases_url":"https://api.github.com/repos/SystemChanger/RobotModel/releases{/id}","created_at":"2015-01-22T07:13:16Z","updated_at":"2015-02-08T20:39:01Z","pushed_at":"2015-02-08T20:39:00Z","git_url":"git://github.com/SystemChanger/RobotModel.git","ssh_url":"git@github.com:SystemChanger/RobotModel.git","clone_url":"https://github.com/SystemChanger/RobotModel.git","svn_url":"https://github.com/SystemChanger/RobotModel","homepage":"","size":209,"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":"MChemodanov:master","ref":"master","sha":"0a51617ef3855763ea9e0d6a18c343bb9c6818a1","user":{"login":"MChemodanov","id":906445,"avatar_url":"https://avatars.githubusercontent.com/u/906445?v=3","gravatar_id":"","url":"https://api.github.com/users/MChemodanov","html_url":"https://github.com/MChemodanov","followers_url":"https://api.github.com/users/MChemodanov/followers","following_url":"https://api.github.com/users/MChemodanov/following{/other_user}","gists_url":"https://api.github.com/users/MChemodanov/gists{/gist_id}","starred_url":"https://api.github.com/users/MChemodanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MChemodanov/subscriptions","organizations_url":"https://api.github.com/users/MChemodanov/orgs","repos_url":"https://api.github.com/users/MChemodanov/repos","events_url":"https://api.github.com/users/MChemodanov/events{/privacy}","received_events_url":"https://api.github.com/users/MChemodanov/received_events","type":"User","site_admin":false},"repo":{"id":28559724,"name":"RobotModel","full_name":"MChemodanov/RobotModel","owner":{"login":"MChemodanov","id":906445,"avatar_url":"https://avatars.githubusercontent.com/u/906445?v=3","gravatar_id":"","url":"https://api.github.com/users/MChemodanov","html_url":"https://github.com/MChemodanov","followers_url":"https://api.github.com/users/MChemodanov/followers","following_url":"https://api.github.com/users/MChemodanov/following{/other_user}","gists_url":"https://api.github.com/users/MChemodanov/gists{/gist_id}","starred_url":"https://api.github.com/users/MChemodanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MChemodanov/subscriptions","organizations_url":"https://api.github.com/users/MChemodanov/orgs","repos_url":"https://api.github.com/users/MChemodanov/repos","events_url":"https://api.github.com/users/MChemodanov/events{/privacy}","received_events_url":"https://api.github.com/users/MChemodanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MChemodanov/RobotModel","description":"Simple OOP-robot model for education","fork":false,"url":"https://api.github.com/repos/MChemodanov/RobotModel","forks_url":"https://api.github.com/repos/MChemodanov/RobotModel/forks","keys_url":"https://api.github.com/repos/MChemodanov/RobotModel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MChemodanov/RobotModel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MChemodanov/RobotModel/teams","hooks_url":"https://api.github.com/repos/MChemodanov/RobotModel/hooks","issue_events_url":"https://api.github.com/repos/MChemodanov/RobotModel/issues/events{/number}","events_url":"https://api.github.com/repos/MChemodanov/RobotModel/events","assignees_url":"https://api.github.com/repos/MChemodanov/RobotModel/assignees{/user}","branches_url":"https://api.github.com/repos/MChemodanov/RobotModel/branches{/branch}","tags_url":"https://api.github.com/repos/MChemodanov/RobotModel/tags","blobs_url":"https://api.github.com/repos/MChemodanov/RobotModel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MChemodanov/RobotModel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MChemodanov/RobotModel/git/refs{/sha}","trees_url":"https://api.github.com/repos/MChemodanov/RobotModel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MChemodanov/RobotModel/statuses/{sha}","languages_url":"https://api.github.com/repos/MChemodanov/RobotModel/languages","stargazers_url":"https://api.github.com/repos/MChemodanov/RobotModel/stargazers","contributors_url":"https://api.github.com/repos/MChemodanov/RobotModel/contributors","subscribers_url":"https://api.github.com/repos/MChemodanov/RobotModel/subscribers","subscription_url":"https://api.github.com/repos/MChemodanov/RobotModel/subscription","commits_url":"https://api.github.com/repos/MChemodanov/RobotModel/commits{/sha}","git_commits_url":"https://api.github.com/repos/MChemodanov/RobotModel/git/commits{/sha}","comments_url":"https://api.github.com/repos/MChemodanov/RobotModel/comments{/number}","issue_comment_url":"https://api.github.com/repos/MChemodanov/RobotModel/issues/comments/{number}","contents_url":"https://api.github.com/repos/MChemodanov/RobotModel/contents/{+path}","compare_url":"https://api.github.com/repos/MChemodanov/RobotModel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MChemodanov/RobotModel/merges","archive_url":"https://api.github.com/repos/MChemodanov/RobotModel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MChemodanov/RobotModel/downloads","issues_url":"https://api.github.com/repos/MChemodanov/RobotModel/issues{/number}","pulls_url":"https://api.github.com/repos/MChemodanov/RobotModel/pulls{/number}","milestones_url":"https://api.github.com/repos/MChemodanov/RobotModel/milestones{/number}","notifications_url":"https://api.github.com/repos/MChemodanov/RobotModel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MChemodanov/RobotModel/labels{/name}","releases_url":"https://api.github.com/repos/MChemodanov/RobotModel/releases{/id}","created_at":"2014-12-28T10:55:03Z","updated_at":"2015-02-01T05:39:53Z","pushed_at":"2015-02-01T05:39:53Z","git_url":"git://github.com/MChemodanov/RobotModel.git","ssh_url":"git@github.com:MChemodanov/RobotModel.git","clone_url":"https://github.com/MChemodanov/RobotModel.git","svn_url":"https://github.com/MChemodanov/RobotModel","homepage":"http://redrobot.su","size":221,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/4"},"html":{"href":"https://github.com/MChemodanov/RobotModel/pull/4"},"issue":{"href":"https://api.github.com/repos/MChemodanov/RobotModel/issues/4"},"comments":{"href":"https://api.github.com/repos/MChemodanov/RobotModel/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/MChemodanov/RobotModel/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/MChemodanov/RobotModel/statuses/30d658b464999cb48d17d7f49c39220adc32e505"}}}}