summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/camera.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-20 12:57:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-20 12:57:43 +0200
commit513ef3ab3ad8231b783905f7ddd7a83d6ef1ae1f (patch)
tree1dd26931d132ecf2902a6399111c4d0b2ebaea85 /ftnoir_tracker_pt/camera.h
parent6b6e286d9dcf03bd4d96f7d0acbeb797eecbcfdd (diff)
pt: cleanup some data races
Diffstat (limited to 'ftnoir_tracker_pt/camera.h')
-rw-r--r--ftnoir_tracker_pt/camera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/camera.h b/ftnoir_tracker_pt/camera.h
index 2c42652a..5451ec09 100644
--- a/ftnoir_tracker_pt/camera.h
+++ b/ftnoir_tracker_pt/camera.h
@@ -89,7 +89,7 @@ public:
void start() override;
void stop() override;
- operator cv::VideoCapture&() { return *cap; }
+ operator cv::VideoCapture*() { return cap; }
protected:
bool _get_frame(cv::Mat* frame) override;