{"action":"created","issue":{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/361","labels_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/361/comments","events_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/361/events","html_url":"https://github.com/OpenKinect/libfreenect2/pull/361","id":100797037,"number":361,"title":"Removes opencv dependency","user":{"login":"fran6co","id":726088,"avatar_url":"https://avatars.githubusercontent.com/u/726088?v=3","gravatar_id":"","url":"https://api.github.com/users/fran6co","html_url":"https://github.com/fran6co","followers_url":"https://api.github.com/users/fran6co/followers","following_url":"https://api.github.com/users/fran6co/following{/other_user}","gists_url":"https://api.github.com/users/fran6co/gists{/gist_id}","starred_url":"https://api.github.com/users/fran6co/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fran6co/subscriptions","organizations_url":"https://api.github.com/users/fran6co/orgs","repos_url":"https://api.github.com/users/fran6co/repos","events_url":"https://api.github.com/users/fran6co/events{/privacy}","received_events_url":"https://api.github.com/users/fran6co/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-13T15:18:45Z","updated_at":"2015-08-16T04:17:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/pulls/361","html_url":"https://github.com/OpenKinect/libfreenect2/pull/361","diff_url":"https://github.com/OpenKinect/libfreenect2/pull/361.diff","patch_url":"https://github.com/OpenKinect/libfreenect2/pull/361.patch"},"body":"Rebased and squashed #261 "},"comment":{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/comments/131489894","html_url":"https://github.com/OpenKinect/libfreenect2/pull/361#issuecomment-131489894","issue_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/361","id":131489894,"user":{"login":"xlz","id":1385542,"avatar_url":"https://avatars.githubusercontent.com/u/1385542?v=3","gravatar_id":"","url":"https://api.github.com/users/xlz","html_url":"https://github.com/xlz","followers_url":"https://api.github.com/users/xlz/followers","following_url":"https://api.github.com/users/xlz/following{/other_user}","gists_url":"https://api.github.com/users/xlz/gists{/gist_id}","starred_url":"https://api.github.com/users/xlz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlz/subscriptions","organizations_url":"https://api.github.com/users/xlz/orgs","repos_url":"https://api.github.com/users/xlz/repos","events_url":"https://api.github.com/users/xlz/events{/privacy}","received_events_url":"https://api.github.com/users/xlz/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T04:17:37Z","updated_at":"2015-08-16T04:17:37Z","body":"The last commit introduces hard dependency on C++11. As discussed before in #261, we want to avoid this.\r\n\r\nCan you add a wrapper like this?\r\n```cpp\r\ndouble getTime()\r\n{\r\n#if __cplusplus >= 201103L\r\n  //not tested:\r\n  static auto start = std::chrono::high_resolution_clock::now();\r\n  auto end = std::chrono::high_resolution_clock::now();\r\n  auto duration = end - start;\r\n  return std::chrono::duration_cast<std::chrono::duration<double>>(duration).count();\r\n#elif LIBFREENECT2_WITH_OPENGL_SUPPORT\r\n  return glfwGetTime();\r\n#else\r\n  return 0;\r\n#endif\r\n}\r\n```"}}