summaryrefslogtreecommitdiff
path: root/src/mbgl/style/sources/vector_source.cpp
blob: f2a6b166a94409e5aabc1b0850da5e1438ccff49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <mbgl/style/sources/vector_source.hpp>
#include <mbgl/style/sources/vector_source_impl.hpp>

namespace mbgl {
namespace style {

VectorSource::VectorSource(std::string id, variant<std::string, Tileset> urlOrTileset)
    : Source(SourceType::Vector, std::make_unique<VectorSource::Impl>(std::move(id), *this, std::move(urlOrTileset))) {
}

} // namespace style
} // namespace mbgl