diff options
Diffstat (limited to 'tracker-pt/module/frame.cpp')
-rw-r--r-- | tracker-pt/module/frame.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tracker-pt/module/frame.cpp b/tracker-pt/module/frame.cpp index e403af07..f54c2e36 100644 --- a/tracker-pt/module/frame.cpp +++ b/tracker-pt/module/frame.cpp @@ -57,9 +57,7 @@ QImage Preview::get_bitmap() void Preview::draw_head_center(double x, double y) { - double px_, py_; - - std::tie(px_, py_) = to_pixel_pos(x, y, frame_copy.cols, frame_copy.rows); + auto [px_, py_] = to_pixel_pos(x, y, frame_copy.cols, frame_copy.rows); int px = iround(px_), py = iround(py_); |