summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/module
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-26 10:00:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-09-26 11:22:51 +0200
commitd0a3b0a85c50c7c746b8ef17af19f4e88dfdf895 (patch)
tree429cd3f90a4666487f1897e38677f80a89dc01f5 /tracker-pt/module
parent5ba58e31d177a9cfa6d2c48a674ce295fdcd248a (diff)
tracker/{pt,wii}: fix awkward pt_preview::operator=
Diffstat (limited to 'tracker-pt/module')
-rw-r--r--tracker-pt/module/frame.cpp2
-rw-r--r--tracker-pt/module/frame.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tracker-pt/module/frame.cpp b/tracker-pt/module/frame.cpp
index b8f2b7cb..798706b8 100644
--- a/tracker-pt/module/frame.cpp
+++ b/tracker-pt/module/frame.cpp
@@ -6,7 +6,7 @@
namespace pt_module {
-Preview& Preview::operator=(const pt_frame& frame_)
+void Preview::set_last_frame(const pt_frame& frame_)
{
const cv::Mat& frame2 = frame_.as_const<const Frame>()->mat;
const cv::Mat* frame;
diff --git a/tracker-pt/module/frame.hpp b/tracker-pt/module/frame.hpp
index ae0a0cbc..1e7c82b6 100644
--- a/tracker-pt/module/frame.hpp
+++ b/tracker-pt/module/frame.hpp
@@ -24,7 +24,7 @@ struct Preview final : pt_preview
{
Preview(int w, int h);
- Preview& operator=(const pt_frame& frame) override;
+ void set_last_frame(const pt_frame& frame) override;
QImage get_bitmap() override;
void draw_head_center(f x, f y) override;