| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <mbgl/style/conversion.hpp> |
| 4 | #include <mbgl/style/source.hpp> |
| 5 | |
| 6 | #include <memory> |
| 7 | |
| 8 | namespace mbgl { |
| 9 | namespace style { |
| 10 | namespace conversion { |
| 11 | |
| 12 | template <> |
| 13 | struct Converter<std::unique_ptr<Source>> { |
| 14 | public: |
| 15 | optional<std::unique_ptr<Source>> operator()(const Convertible& value, Error& error, const std::string& id) const; |
| 16 | }; |
| 17 | |
| 18 | } // namespace conversion |
| 19 | } // namespace style |
| 20 | } // namespace mbgl |
| 21 |
