diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-03 14:08:12 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-03 14:35:56 +0100 |
commit | 5a6946232fcd85004b97db9ed64a5ff8ce452652 (patch) | |
tree | 6a933232be7c8c8b2853dcd9990957e7149e6a74 /pose-widget | |
parent | 37ac49512750b9268977aa92aa8829351e965407 (diff) |
pose-widget: sprinkle some const
Diffstat (limited to 'pose-widget')
-rw-r--r-- | pose-widget/pose-widget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |