summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/module/camera.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-25 17:55:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-10-25 17:55:27 +0200
commit83867b413c449101bbe14615ff857a7785432ede (patch)
tree3b7a7fd68da8158a97fd67db9806fa6d984ebf80 /tracker-pt/module/camera.h
parent00cceaffca6063b963d0848480acaa99f5fecaad (diff)
cleanup only
- replace warn_unused_result with [[nodiscard]] - remove some redundant w_a_r - replace std::decay with remove_cvref_t - simplify compat/math.hpp
Diffstat (limited to 'tracker-pt/module/camera.h')
-rw-r--r--tracker-pt/module/camera.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-pt/module/camera.h b/tracker-pt/module/camera.h
index f3f88cc5..f8f140de 100644
--- a/tracker-pt/module/camera.h
+++ b/tracker-pt/module/camera.h
@@ -37,7 +37,7 @@ struct Camera final : pt_camera
void show_camera_settings() override;
private:
- cc_warn_unused_result bool _get_frame(cv::Mat& Frame);
+ [[nodiscard]] bool _get_frame(cv::Mat& Frame);
double dt_mean = 0, fov = 30;
Timer t;
@@ -56,7 +56,7 @@ private:
pt_settings s;
- static constexpr inline double dt_eps = 1./384;
+ static constexpr inline double dt_eps = 1./256;
};
} // ns pt_module