Skip to content

Commit

Permalink
improve coverage, rebase on main
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSylvester committed Dec 2, 2024
1 parent f10768b commit 949ef8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mbgl/tile/tile_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ struct CaptureWrapper {
std::ranges::move(items_, items.begin());
}
CaptureWrapper(CaptureWrapper&&) = default;

// coverage:ignore-start
/// This copy constructor is required to build, but doesn't seem to be called.
CaptureWrapper(const CaptureWrapper& other)
: items(other.items) {}
// coverage:ignore-end

std::vector<std::shared_ptr<Tile>> items;
};
} // namespace
Expand Down

0 comments on commit 949ef8b

Please sign in to comment.