summaryrefslogtreecommitdiffhomepage
path: root/pose-widget/pose-widget.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-05-07 19:21:49 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-05-10 11:19:22 +0200
commit1d3fa41e12c9f17f184084f734fe78a4f1468b60 (patch)
tree1c07b6c90ee3351adc66738540304fc9ced464c6 /pose-widget/pose-widget.hpp
parentc114e085b3bb51da51c4a7ecceda146e095c7a2e (diff)
pose-widget: add empty space to prevent out-out-bounds writes
Diffstat (limited to 'pose-widget/pose-widget.hpp')
-rw-r--r--pose-widget/pose-widget.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/pose-widget/pose-widget.hpp b/pose-widget/pose-widget.hpp
index b528d394..1d34778a 100644
--- a/pose-widget/pose-widget.hpp
+++ b/pose-widget/pose-widget.hpp
@@ -69,8 +69,6 @@ class pose_transform final : private QThread
QImage front, back;
QImage image, image2;
- int width, height;
-
std::atomic<bool> fresh;
static constexpr int w = 320, h = 240;