diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-27 18:30:35 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-04-17 13:36:50 +0300 |
commit | 542c11ae63f4afff2e0c84712019c0f9f19ef590 (patch) | |
tree | cd311047bb500687a84a79d819c9af5fd9d770e3 /src/mbgl/layout | |
parent | 7751e4be762857b91f7dfa5c10f0f024aebd0079 (diff) | |
download | qtlocation-mapboxgl-542c11ae63f4afff2e0c84712019c0f9f19ef590.tar.gz |
[core] Fix modernize-use-equals-default errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/layout')
-rw-r--r-- | src/mbgl/layout/symbol_projection.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/layout/symbol_projection.hpp b/src/mbgl/layout/symbol_projection.hpp index e04f8908b6..598073bf55 100644 --- a/src/mbgl/layout/symbol_projection.hpp +++ b/src/mbgl/layout/symbol_projection.hpp @@ -30,8 +30,7 @@ namespace mbgl { {} PlacedGlyph(PlacedGlyph&& other) noexcept : point(other.point), angle(other.angle), tileDistance(std::move(other.tileDistance)) {} - PlacedGlyph(const PlacedGlyph& other) - : point(other.point), angle(other.angle), tileDistance(other.tileDistance) {} + PlacedGlyph(const PlacedGlyph& other) = default; Point<float> point; float angle; optional<TileDistance> tileDistance; |