From 5a6946232fcd85004b97db9ed64a5ff8ce452652 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 3 Jan 2018 14:08:12 +0100 Subject: pose-widget: sprinkle some const --- pose-widget/pose-widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pose-widget/pose-widget.cpp') diff --git a/pose-widget/pose-widget.cpp b/pose-widget/pose-widget.cpp index 33bc24fb..50606c00 100644 --- a/pose-widget/pose-widget.cpp +++ b/pose-widget/pose-widget.cpp @@ -279,8 +279,8 @@ void pose_transform::project_quad_texture() const unsigned orig_pitch = tex.bytesPerLine(); const unsigned dest_pitch = image.bytesPerLine(); - const unsigned char* restrict_ptr orig = tex.constBits(); - unsigned char* restrict_ptr dest = image.bits(); + unsigned char const* const restrict_ptr orig = tex.constBits(); + unsigned char* const restrict_ptr dest = image.bits(); const int orig_depth = tex.depth() / 8; const int dest_depth = image.depth() / 8; -- cgit v1.2.3