[build] Clang-3.8: Explicit mbgl::PlacedGlyph default+copy+move ctor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user