diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-02 08:14:54 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-02 08:21:36 +0100 |
commit | 398894b546fb6588049e889678943c124a90ec24 (patch) | |
tree | b5db21f64a01c5e6d27920052e022728e9678611 /tracker-pt/camera.h | |
parent | b830658e3e1657de1ef8581a53b4298769c117ee (diff) |
compat/macros: rename obnoxious macro
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; |