{"action":"created","comment":{"url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/comments/80386459","id":80386459,"diff_hunk":"@@ -7,20 +7,32 @@\n \n #include \"tbitfield.h\"\n \n-TBitField::TBitField(int len)\n+TBitField::TBitField(int len) : BitLen(len)\n {\n+\tMemLen = (len + 15) >> 4;\n+\tpMem = new TELEM[MemLen];\n+\tif (pMem != NULL)\n+\t\tfor (int i = 0; i < MemLen; i++) pMem[i] = 0;\n }\n \n TBitField::TBitField(const TBitField &bf) // конструктор копирования\n {\n+\tBitLen = bf.BitLen;\n+\tMemLen = bf.MemLen;\n+\tpMem = new TELEM[MemLen];\n+\tif (pMem != NULL)\n+\t\tfor (int i = 0; i < BitLen; i++ )  pMem[i] = bf.pMem[i];\n }\n \n TBitField::~TBitField()\n {\n+\tdelete pMem;","path":"src/tbitfield.cpp","position":24,"original_position":24,"commit_id":"c5686af9b59ff330c53c7eb051017d5c23246add","original_commit_id":"c5686af9b59ff330c53c7eb051017d5c23246add","user":{"login":"alvls","id":5449780,"avatar_url":"https://avatars.githubusercontent.com/u/5449780?v=3","gravatar_id":"","url":"https://api.github.com/users/alvls","html_url":"https://github.com/alvls","followers_url":"https://api.github.com/users/alvls/followers","following_url":"https://api.github.com/users/alvls/following{/other_user}","gists_url":"https://api.github.com/users/alvls/gists{/gist_id}","starred_url":"https://api.github.com/users/alvls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvls/subscriptions","organizations_url":"https://api.github.com/users/alvls/orgs","repos_url":"https://api.github.com/users/alvls/repos","events_url":"https://api.github.com/users/alvls/events{/privacy}","received_events_url":"https://api.github.com/users/alvls/received_events","type":"User","site_admin":false},"body":"Неверное использование delete","created_at":"2016-09-25T16:45:56Z","updated_at":"2016-09-25T16:45:56Z","html_url":"https://github.com/Death-Boy-Dmi/mp2-lab1-set/pull/1#discussion_r80386459","pull_request_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/comments/80386459"},"html":{"href":"https://github.com/Death-Boy-Dmi/mp2-lab1-set/pull/1#discussion_r80386459"},"pull_request":{"href":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/1","id":86649626,"html_url":"https://github.com/Death-Boy-Dmi/mp2-lab1-set/pull/1","diff_url":"https://github.com/Death-Boy-Dmi/mp2-lab1-set/pull/1.diff","patch_url":"https://github.com/Death-Boy-Dmi/mp2-lab1-set/pull/1.patch","issue_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/issues/1","number":1,"state":"open","locked":false,"title":"Describe the constructors","user":{"login":"Death-Boy-Dmi","id":22346729,"avatar_url":"https://avatars.githubusercontent.com/u/22346729?v=3","gravatar_id":"","url":"https://api.github.com/users/Death-Boy-Dmi","html_url":"https://github.com/Death-Boy-Dmi","followers_url":"https://api.github.com/users/Death-Boy-Dmi/followers","following_url":"https://api.github.com/users/Death-Boy-Dmi/following{/other_user}","gists_url":"https://api.github.com/users/Death-Boy-Dmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Death-Boy-Dmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Death-Boy-Dmi/subscriptions","organizations_url":"https://api.github.com/users/Death-Boy-Dmi/orgs","repos_url":"https://api.github.com/users/Death-Boy-Dmi/repos","events_url":"https://api.github.com/users/Death-Boy-Dmi/events{/privacy}","received_events_url":"https://api.github.com/users/Death-Boy-Dmi/received_events","type":"User","site_admin":false},"body":"I describe the constructors.\r\n","created_at":"2016-09-25T13:12:51Z","updated_at":"2016-09-25T16:45:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91e63b7cc41eadecd4b9f00e3893257ddefa7b9b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/issues/1/comments","statuses_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/statuses/c5686af9b59ff330c53c7eb051017d5c23246add","head":{"label":"Death-Boy-Dmi:Describe_the_constructors","ref":"Describe_the_constructors","sha":"c5686af9b59ff330c53c7eb051017d5c23246add","user":{"login":"Death-Boy-Dmi","id":22346729,"avatar_url":"https://avatars.githubusercontent.com/u/22346729?v=3","gravatar_id":"","url":"https://api.github.com/users/Death-Boy-Dmi","html_url":"https://github.com/Death-Boy-Dmi","followers_url":"https://api.github.com/users/Death-Boy-Dmi/followers","following_url":"https://api.github.com/users/Death-Boy-Dmi/following{/other_user}","gists_url":"https://api.github.com/users/Death-Boy-Dmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Death-Boy-Dmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Death-Boy-Dmi/subscriptions","organizations_url":"https://api.github.com/users/Death-Boy-Dmi/orgs","repos_url":"https://api.github.com/users/Death-Boy-Dmi/repos","events_url":"https://api.github.com/users/Death-Boy-Dmi/events{/privacy}","received_events_url":"https://api.github.com/users/Death-Boy-Dmi/received_events","type":"User","site_admin":false},"repo":{"id":68818087,"name":"mp2-lab1-set","full_name":"Death-Boy-Dmi/mp2-lab1-set","owner":{"login":"Death-Boy-Dmi","id":22346729,"avatar_url":"https://avatars.githubusercontent.com/u/22346729?v=3","gravatar_id":"","url":"https://api.github.com/users/Death-Boy-Dmi","html_url":"https://github.com/Death-Boy-Dmi","followers_url":"https://api.github.com/users/Death-Boy-Dmi/followers","following_url":"https://api.github.com/users/Death-Boy-Dmi/following{/other_user}","gists_url":"https://api.github.com/users/Death-Boy-Dmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Death-Boy-Dmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Death-Boy-Dmi/subscriptions","organizations_url":"https://api.github.com/users/Death-Boy-Dmi/orgs","repos_url":"https://api.github.com/users/Death-Boy-Dmi/repos","events_url":"https://api.github.com/users/Death-Boy-Dmi/events{/privacy}","received_events_url":"https://api.github.com/users/Death-Boy-Dmi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Death-Boy-Dmi/mp2-lab1-set","description":"Проект-шаблон для выполнения первого практического задания по курсу МП2","fork":true,"url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set","forks_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/forks","keys_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/teams","hooks_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/hooks","issue_events_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/issues/events{/number}","events_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/events","assignees_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/assignees{/user}","branches_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/branches{/branch}","tags_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/tags","blobs_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/git/refs{/sha}","trees_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/statuses/{sha}","languages_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/languages","stargazers_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/stargazers","contributors_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/contributors","subscribers_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/subscribers","subscription_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/subscription","commits_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/commits{/sha}","git_commits_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/git/commits{/sha}","comments_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/comments{/number}","issue_comment_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/issues/comments{/number}","contents_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/contents/{+path}","compare_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/merges","archive_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/downloads","issues_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/issues{/number}","pulls_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls{/number}","milestones_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/milestones{/number}","notifications_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/labels{/name}","releases_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/releases{/id}","deployments_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/deployments","created_at":"2016-09-21T13:11:22Z","updated_at":"2016-09-21T13:11:23Z","pushed_at":"2016-09-25T15:18:27Z","git_url":"git://github.com/Death-Boy-Dmi/mp2-lab1-set.git","ssh_url":"git@github.com:Death-Boy-Dmi/mp2-lab1-set.git","clone_url":"https://github.com/Death-Boy-Dmi/mp2-lab1-set.git","svn_url":"https://github.com/Death-Boy-Dmi/mp2-lab1-set","homepage":"http://www.software.unn.ru/?doc=507","size":7154,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Death-Boy-Dmi:master","ref":"master","sha":"98f7199638a686a24cb62d38e460d4f153d3a177","user":{"login":"Death-Boy-Dmi","id":22346729,"avatar_url":"https://avatars.githubusercontent.com/u/22346729?v=3","gravatar_id":"","url":"https://api.github.com/users/Death-Boy-Dmi","html_url":"https://github.com/Death-Boy-Dmi","followers_url":"https://api.github.com/users/Death-Boy-Dmi/followers","following_url":"https://api.github.com/users/Death-Boy-Dmi/following{/other_user}","gists_url":"https://api.github.com/users/Death-Boy-Dmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Death-Boy-Dmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Death-Boy-Dmi/subscriptions","organizations_url":"https://api.github.com/users/Death-Boy-Dmi/orgs","repos_url":"https://api.github.com/users/Death-Boy-Dmi/repos","events_url":"https://api.github.com/users/Death-Boy-Dmi/events{/privacy}","received_events_url":"https://api.github.com/users/Death-Boy-Dmi/received_events","type":"User","site_admin":false},"repo":{"id":68818087,"name":"mp2-lab1-set","full_name":"Death-Boy-Dmi/mp2-lab1-set","owner":{"login":"Death-Boy-Dmi","id":22346729,"avatar_url":"https://avatars.githubusercontent.com/u/22346729?v=3","gravatar_id":"","url":"https://api.github.com/users/Death-Boy-Dmi","html_url":"https://github.com/Death-Boy-Dmi","followers_url":"https://api.github.com/users/Death-Boy-Dmi/followers","following_url":"https://api.github.com/users/Death-Boy-Dmi/following{/other_user}","gists_url":"https://api.github.com/users/Death-Boy-Dmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Death-Boy-Dmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Death-Boy-Dmi/subscriptions","organizations_url":"https://api.github.com/users/Death-Boy-Dmi/orgs","repos_url":"https://api.github.com/users/Death-Boy-Dmi/repos","events_url":"https://api.github.com/users/Death-Boy-Dmi/events{/privacy}","received_events_url":"https://api.github.com/users/Death-Boy-Dmi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Death-Boy-Dmi/mp2-lab1-set","description":"Проект-шаблон для выполнения первого практического задания по курсу МП2","fork":true,"url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set","forks_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/forks","keys_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/teams","hooks_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/hooks","issue_events_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/issues/events{/number}","events_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/events","assignees_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/assignees{/user}","branches_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/branches{/branch}","tags_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/tags","blobs_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/git/refs{/sha}","trees_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/statuses/{sha}","languages_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/languages","stargazers_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/stargazers","contributors_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/contributors","subscribers_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/subscribers","subscription_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/subscription","commits_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/commits{/sha}","git_commits_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/git/commits{/sha}","comments_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/comments{/number}","issue_comment_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/issues/comments{/number}","contents_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/contents/{+path}","compare_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/merges","archive_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/downloads","issues_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/issues{/number}","pulls_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls{/number}","milestones_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/milestones{/number}","notifications_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/labels{/name}","releases_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/releases{/id}","deployments_url":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/deployments","created_at":"2016-09-21T13:11:22Z","updated_at":"2016-09-21T13:11:23Z","pushed_at":"2016-09-25T15:18:27Z","git_url":"git://github.com/Death-Boy-Dmi/mp2-lab1-set.git","ssh_url":"git@github.com:Death-Boy-Dmi/mp2-lab1-set.git","clone_url":"https://github.com/Death-Boy-Dmi/mp2-lab1-set.git","svn_url":"https://github.com/Death-Boy-Dmi/mp2-lab1-set","homepage":"http://www.software.unn.ru/?doc=507","size":7154,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/1"},"html":{"href":"https://github.com/Death-Boy-Dmi/mp2-lab1-set/pull/1"},"issue":{"href":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/issues/1"},"comments":{"href":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Death-Boy-Dmi/mp2-lab1-set/statuses/c5686af9b59ff330c53c7eb051017d5c23246add"}}}}
{"actor":{"display_login":"alvls"}}