consistent std::move in image data move ctor

This commit is contained in:
Dane Springmeyer 2014-12-16 21:13:58 -08:00
parent 52d4b0edfd
commit 17d3bd8a9d

View File

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