consistent std::move in image data move ctor
This commit is contained in:
parent
1b428f87fa
commit
1dfdfb3b22
1 changed files with 2 additions and 2 deletions
|
@ -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()))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue