summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-07-10 11:49:25 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-07-12 14:48:22 -0700
commit01aff0127458cc334e5d4d9f45f57fc96e314574 (patch)
tree56aa126bfaf1ea7f0d840180b28d238c110b07f3 /src
parent358b0305ae1f52b477ae145bcca4b7af242dd5c3 (diff)
downloadqtlocation-mapboxgl-01aff0127458cc334e5d4d9f45f57fc96e314574.tar.gz
[core] Use a type alias for SegmentVector
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/programs/segment.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mbgl/programs/segment.hpp b/src/mbgl/programs/segment.hpp
index 74bf4a75c5..ceb6b1536c 100644
--- a/src/mbgl/programs/segment.hpp
+++ b/src/mbgl/programs/segment.hpp
@@ -39,9 +39,6 @@ public:
};
template <class Attributes>
-class SegmentVector : public std::vector<Segment<Attributes>> {
-public:
- SegmentVector() = default;
-};
+using SegmentVector = std::vector<Segment<Attributes>>;
} // namespace mbgl