[build] Clang-3.8: Explicit mbgl::PlacedGlyph default+copy+move ctor

This commit is contained in:
Bruno de Oliveira Abinader
2017-11-29 15:16:14 +02:00
parent 87a7dab553
commit 772b909062

View File

@@ -23,9 +23,17 @@ namespace mbgl {
};
struct PlacedGlyph {
PlacedGlyph() = default;
PlacedGlyph(Point<float> point_, float angle_, optional<TileDistance> tileDistance_)
: point(point_), angle(angle_), tileDistance(std::move(tileDistance_))
{}
PlacedGlyph(PlacedGlyph&& other) noexcept
: point(std::move(other.point)), angle(other.angle), tileDistance(std::move(other.tileDistance))
{}
PlacedGlyph(const PlacedGlyph& other)
: point(std::move(other.point)), angle(other.angle), tileDistance(std::move(other.tileDistance))
{}
Point<float> point;
float angle;
optional<TileDistance> tileDistance;