{"action":"opened","issue":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/2401","repository_url":"https://api.github.com/repos/PointCloudLibrary/pcl","labels_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/2401/labels{/name}","comments_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/2401/comments","events_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/2401/events","html_url":"https://github.com/PointCloudLibrary/pcl/issues/2401","id":354123665,"node_id":"MDU6SXNzdWUzNTQxMjM2NjU=","number":2401,"title":"Prevent infinite recursion in `getPointCloudDifference`","user":{"login":"SergioRAgostinho","id":1709142,"node_id":"MDQ6VXNlcjE3MDkxNDI=","avatar_url":"https://avatars3.githubusercontent.com/u/1709142?v=4","gravatar_id":"","url":"https://api.github.com/users/SergioRAgostinho","html_url":"https://github.com/SergioRAgostinho","followers_url":"https://api.github.com/users/SergioRAgostinho/followers","following_url":"https://api.github.com/users/SergioRAgostinho/following{/other_user}","gists_url":"https://api.github.com/users/SergioRAgostinho/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioRAgostinho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioRAgostinho/subscriptions","organizations_url":"https://api.github.com/users/SergioRAgostinho/orgs","repos_url":"https://api.github.com/users/SergioRAgostinho/repos","events_url":"https://api.github.com/users/SergioRAgostinho/events{/privacy}","received_events_url":"https://api.github.com/users/SergioRAgostinho/received_events","type":"User","site_admin":false},"labels":[{"id":717728762,"node_id":"MDU6TGFiZWw3MTc3Mjg3NjI=","url":"https://api.github.com/repos/PointCloudLibrary/pcl/labels/good%20first%20issue","name":"good first issue","color":"5319e7","default":true},{"id":1035416680,"node_id":"MDU6TGFiZWwxMDM1NDE2Njgw","url":"https://api.github.com/repos/PointCloudLibrary/pcl/labels/module:%20segmentation","name":"module: segmentation","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/milestones/4","html_url":"https://github.com/PointCloudLibrary/pcl/milestone/4","labels_url":"https://api.github.com/repos/PointCloudLibrary/pcl/milestones/4/labels","id":1836984,"node_id":"MDk6TWlsZXN0b25lMTgzNjk4NA==","number":4,"title":"pcl-1.9.0","description":"","creator":{"login":"SergioRAgostinho","id":1709142,"node_id":"MDQ6VXNlcjE3MDkxNDI=","avatar_url":"https://avatars3.githubusercontent.com/u/1709142?v=4","gravatar_id":"","url":"https://api.github.com/users/SergioRAgostinho","html_url":"https://github.com/SergioRAgostinho","followers_url":"https://api.github.com/users/SergioRAgostinho/followers","following_url":"https://api.github.com/users/SergioRAgostinho/following{/other_user}","gists_url":"https://api.github.com/users/SergioRAgostinho/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioRAgostinho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioRAgostinho/subscriptions","organizations_url":"https://api.github.com/users/SergioRAgostinho/orgs","repos_url":"https://api.github.com/users/SergioRAgostinho/repos","events_url":"https://api.github.com/users/SergioRAgostinho/events{/privacy}","received_events_url":"https://api.github.com/users/SergioRAgostinho/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":78,"state":"open","created_at":"2016-06-19T23:05:46Z","updated_at":"2018-08-26T19:58:08Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-08-26T19:58:08Z","updated_at":"2018-08-26T19:58:08Z","closed_at":null,"author_association":"MEMBER","body":"https://github.com/PointCloudLibrary/pcl/blob/22aed06eab312322d47aa31f9f983318c91ca862/segmentation/include/pcl/segmentation/segment_differences.h#L62-L72\r\n\r\nNeeds to be changed to \r\n\r\n```cpp\r\n  template <typename PointT>\r\n  PCL_DEPRECATED(\"getPointCloudDifference() does not use the tgt parameter, thus it is deprecated and will be removed in future releases.\")\r\n  inline void getPointCloudDifference (\r\n      const pcl::PointCloud<PointT> &src,\r\n      const pcl::PointCloud<PointT> &, // removed parameter to suppress warning\r\n      double threshold,\r\n      const boost::shared_ptr<pcl::search::Search<PointT> > &tree,\r\n      pcl::PointCloud<PointT> &output)\r\n  {\r\n    getPointCloudDifference<PointT> (src, threshold, tree, output); // without the extra parameter\r\n  }\r\n```"}}
{"actor":{"display_login":"SergioRAgostinho"}}