{"action":"created","issue":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/16768","repository_url":"https://api.github.com/repos/cms-sw/cmssw","labels_url":"https://api.github.com/repos/cms-sw/cmssw/issues/16768/labels{/name}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/16768/comments","events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/16768/events","html_url":"https://github.com/cms-sw/cmssw/pull/16768","id":191779342,"number":16768,"title":"Use make_shared in visualization","user":{"login":"wmtan","id":4268350,"avatar_url":"https://avatars.githubusercontent.com/u/4268350?v=3","gravatar_id":"","url":"https://api.github.com/users/wmtan","html_url":"https://github.com/wmtan","followers_url":"https://api.github.com/users/wmtan/followers","following_url":"https://api.github.com/users/wmtan/following{/other_user}","gists_url":"https://api.github.com/users/wmtan/gists{/gist_id}","starred_url":"https://api.github.com/users/wmtan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmtan/subscriptions","organizations_url":"https://api.github.com/users/wmtan/orgs","repos_url":"https://api.github.com/users/wmtan/repos","events_url":"https://api.github.com/users/wmtan/events{/privacy}","received_events_url":"https://api.github.com/users/wmtan/received_events","type":"User","site_admin":false},"labels":[{"id":88653795,"url":"https://api.github.com/repos/cms-sw/cmssw/labels/comparison-pending","name":"comparison-pending","color":"fbca04","default":false},{"id":56953091,"url":"https://api.github.com/repos/cms-sw/cmssw/labels/orp-pending","name":"orp-pending","color":"fbca04","default":false},{"id":53167770,"url":"https://api.github.com/repos/cms-sw/cmssw/labels/pending-signatures","name":"pending-signatures","color":"eb6420","default":false},{"id":56131152,"url":"https://api.github.com/repos/cms-sw/cmssw/labels/tests-pending","name":"tests-pending","color":"fbca04","default":false},{"id":52881797,"url":"https://api.github.com/repos/cms-sw/cmssw/labels/visualization-pending","name":"visualization-pending","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cms-sw/cmssw/milestones/64","html_url":"https://github.com/cms-sw/cmssw/milestones/Next%20CMSSW_9_0_X","labels_url":"https://api.github.com/repos/cms-sw/cmssw/milestones/64/labels","id":2138657,"number":64,"title":"Next CMSSW_9_0_X","description":null,"creator":{"login":"smuzaffar","id":4115138,"avatar_url":"https://avatars.githubusercontent.com/u/4115138?v=3","gravatar_id":"","url":"https://api.github.com/users/smuzaffar","html_url":"https://github.com/smuzaffar","followers_url":"https://api.github.com/users/smuzaffar/followers","following_url":"https://api.github.com/users/smuzaffar/following{/other_user}","gists_url":"https://api.github.com/users/smuzaffar/gists{/gist_id}","starred_url":"https://api.github.com/users/smuzaffar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smuzaffar/subscriptions","organizations_url":"https://api.github.com/users/smuzaffar/orgs","repos_url":"https://api.github.com/users/smuzaffar/repos","events_url":"https://api.github.com/users/smuzaffar/events{/privacy}","received_events_url":"https://api.github.com/users/smuzaffar/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":63,"state":"open","created_at":"2016-11-16T08:55:18Z","updated_at":"2016-11-26T01:05:42Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-11-26T01:05:26Z","updated_at":"2016-11-26T01:08:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cms-sw/cmssw/pulls/16768","html_url":"https://github.com/cms-sw/cmssw/pull/16768","diff_url":"https://github.com/cms-sw/cmssw/pull/16768.diff","patch_url":"https://github.com/cms-sw/cmssw/pull/16768.patch"},"body":"\"auto thePtr = std::make_shared(...)\" is preferred to \"shared_ptr thePtr(new MyClass(...))\" because it saves a memory allocation. It allocates the shared_ptr and the pointee in the same allocation.\r\nThis PR changes the places in visualization that did it the suboptimal way. To do this, it was necessary to replace the use of boost::shared_ptr with std::shared_ptr, which was done throughout visualization."},"comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments/263036824","html_url":"https://github.com/cms-sw/cmssw/pull/16768#issuecomment-263036824","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/16768","id":263036824,"user":{"login":"cmsbuild","id":4170616,"avatar_url":"https://avatars.githubusercontent.com/u/4170616?v=3","gravatar_id":"","url":"https://api.github.com/users/cmsbuild","html_url":"https://github.com/cmsbuild","followers_url":"https://api.github.com/users/cmsbuild/followers","following_url":"https://api.github.com/users/cmsbuild/following{/other_user}","gists_url":"https://api.github.com/users/cmsbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/cmsbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmsbuild/subscriptions","organizations_url":"https://api.github.com/users/cmsbuild/orgs","repos_url":"https://api.github.com/users/cmsbuild/repos","events_url":"https://api.github.com/users/cmsbuild/events{/privacy}","received_events_url":"https://api.github.com/users/cmsbuild/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T01:08:28Z","updated_at":"2016-11-26T01:08:28Z","body":"The tests are being triggered in jenkins."}}
{"actor":{"display_login":"cmsbuild"}}