summaryrefslogtreecommitdiff
path: root/include/mbgl/style/conversion/source.hpp
blob: 2cf2e36da4e9fd4346b2512a7817845ae6d15ee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <mbgl/style/conversion.hpp>
#include <mbgl/style/source.hpp>

#include <memory>

namespace mbgl {
namespace style {
namespace conversion {

template <>
struct Converter<std::unique_ptr<Source>> {
public:
    optional<std::unique_ptr<Source>> operator()(const Convertible& value, Error& error, const std::string& id) const;
};

} // namespace conversion
} // namespace style
} // namespace mbgl