diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-09-22 14:19:57 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-09-22 14:25:27 +0200 |
commit | dd13eb978bd24cd93fb085884664e94b31f1774d (patch) | |
tree | 086e87d7f8f67665857cc0bab68666a5f077c332 /tracker-pt | |
parent | db6cd6775798c1cb48f39ba2e07d6cfb0771f62c (diff) |
pointless to use likely macro
The operation is so many cycles, branch prediction
doesn't matter here.
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index 66d6f1ec..48022753 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -67,7 +67,7 @@ void Tracker_PT::run() { QMutexLocker l(&camera_mtx); - if (likely(camera)) + if (camera) std::tie(new_frame, cam_info) = camera.get_frame(frame); } |