diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-26 10:00:53 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-26 11:22:51 +0200 |
commit | d0a3b0a85c50c7c746b8ef17af19f4e88dfdf895 (patch) | |
tree | 429cd3f90a4666487f1897e38677f80a89dc01f5 /tracker-pt/pt-api.hpp | |
parent | 5ba58e31d177a9cfa6d2c48a674ce295fdcd248a (diff) |
tracker/{pt,wii}: fix awkward pt_preview::operator=
Diffstat (limited to 'tracker-pt/pt-api.hpp')
-rw-r--r-- | tracker-pt/pt-api.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tracker-pt/pt-api.hpp b/tracker-pt/pt-api.hpp index b87e7d65..75e880d4 100644 --- a/tracker-pt/pt-api.hpp +++ b/tracker-pt/pt-api.hpp @@ -69,7 +69,11 @@ protected: struct pt_preview : pt_frame { - virtual pt_preview& operator=(const pt_frame&) = 0; + pt_preview() = default; + + OTR_DISABLE_MOVE_COPY(pt_preview); + + virtual void set_last_frame(const pt_frame&) = 0; virtual QImage get_bitmap() = 0; virtual void draw_head_center(f x, f y) = 0; }; |