Skip to content

Commit

Permalink
put back std::move
Browse files Browse the repository at this point in the history
  • Loading branch information
gerdie committed Jul 19, 2021
1 parent 83389ee commit 5cdd368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vtcomposite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct TileObject
y{y0},
data{buffer.Data(), buffer.Length()},
buffer_ref{Napi::Persistent(buffer)},
layers{layers0}
layers{std::move(layers0)}
{
}

Expand Down Expand Up @@ -185,7 +185,7 @@ struct CompositeWorker : Napi::AsyncWorker
// if include_layers is not empty, keep layer if we can find its name in the vector
std::string sname(name);
if (include_layers.empty() || std::find(std::begin(include_layers), std::end(include_layers), sname) != std::end(include_layers))
{x
{
std::uint32_t extent = layer.extent();
if (zoom_factor == 1)
{
Expand Down

0 comments on commit 5cdd368

Please sign in to comment.