consistent std::move in image data move ctor

This commit is contained in:
Dane Springmeyer 2014-12-16 21:13:58 -08:00
parent 1b428f87fa
commit 1dfdfb3b22

View file

@ -109,8 +109,8 @@ public:
{}
image_data(image_data<pixel_type> && rhs) noexcept
: width_(rhs.width_),
height_(rhs.height_),
: width_(std::move(rhs.width_)),
height_(std::move(rhs.height_)),
buffer_(std::move(rhs.buffer_)),
pData_(reinterpret_cast<pixel_type*>(buffer_.data()))
{