diff options
Diffstat (limited to 'tracker-pt/camera.h')
-rw-r--r-- | tracker-pt/camera.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tracker-pt/camera.h b/tracker-pt/camera.h index 388b9234..97dfa029 100644 --- a/tracker-pt/camera.h +++ b/tracker-pt/camera.h @@ -43,11 +43,11 @@ struct Camera final Camera() : dt_mean(0), fov(0) {} - DEFUN_WARN_UNUSED open_status start(int idx, int fps, int res_x, int res_y); + warn_result_unused open_status start(int idx, int fps, int res_x, int res_y); void stop(); - DEFUN_WARN_UNUSED result get_frame(cv::Mat& frame); - DEFUN_WARN_UNUSED result get_info() const; + warn_result_unused result get_frame(cv::Mat& frame); + warn_result_unused result get_info() const; CamInfo get_desired() const { return cam_desired; } QString get_desired_name() const; @@ -62,7 +62,7 @@ struct Camera final void set_fov(double value) { fov = value; } private: - DEFUN_WARN_UNUSED bool _get_frame(cv::Mat& frame); + warn_result_unused bool _get_frame(cv::Mat& frame); double dt_mean; double fov; |