mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
consistent std::move in image data move ctor
This commit is contained in:
parent
52d4b0edfd
commit
17d3bd8a9d
@ -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()))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user