GitHub PullRequestReviewCommentEvent at 2014-03-14 09:35:01
Repository: opencv
Actor: akarsakov
Payload: {"comment":{"url":"https://api.github.com/repos/Itseez/opencv/pulls/comments/10600882","id":10600882,"diff_hunk":"@@ -155,13 +155,28 @@ struct choose_policy<any>\n \n #undef SMALL_POLICY\n \n-/// This function will return a different policy for each type.\n-template<typename T>\n-base_any_policy* get_policy()\n+template <typename T>\n+class SinglePolicy\n {\n+public:\n+    static base_any_policy* get_policy();\n+\n+protected:","path":"modules/flann/include/opencv2/flann/any.h","position":13,"original_position":13,"commit_id":"a5a2caab00f938cad1a4db1136342b0e8c7ced89","original_commit_id":"a5a2caab00f938cad1a4db1136342b0e8c7ced89","user":{"login":"akarsakov","id":5549721,"avatar_url":"https://gravatar.com/avatar/7d97d7fd7c32c5785e2e72afc06b46e8?d=https%3A%2F%2Fidenticons.github.com%2F5d1c4c7151ba9b4466cfde4cf2c49789.png&r=x","gravatar_id":"7d97d7fd7c32c5785e2e72afc06b46e8","url":"https://api.github.com/users/akarsakov","html_url":"https://github.com/akarsakov","followers_url":"https://api.github.com/users/akarsakov/followers","following_url":"https://api.github.com/users/akarsakov/following{/other_user}","gists_url":"https://api.github.com/users/akarsakov/gists{/gist_id}","starred_url":"https://api.github.com/users/akarsakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akarsakov/subscriptions","organizations_url":"https://api.github.com/users/akarsakov/orgs","repos_url":"https://api.github.com/users/akarsakov/repos","events_url":"https://api.github.com/users/akarsakov/events{/privacy}","received_events_url":"https://api.github.com/users/akarsakov/received_events","type":"User","site_admin":false},"body":"No serious reason. \r\nBut I agree, can be replaced by `private`, since not supposed to inherit from `SinglePolicy`.\r\nI will fix it.","created_at":"2014-03-14T09:35:01Z","updated_at":"2014-03-14T09:35:01Z","html_url":"https://github.com/Itseez/opencv/pull/2474#discussion_r10600882","pull_request_url":"https://api.github.com/repos/Itseez/opencv/pulls/2474","_links":{"self":{"href":"https://api.github.com/repos/Itseez/opencv/pulls/comments/10600882"},"html":{"href":"https://github.com/Itseez/opencv/pull/2474#discussion_r10600882"},"pull_request":{"href":"https://api.github.com/repos/Itseez/opencv/pulls/2474"}}}}