For parallelism with mbgl::optional, and to avoid exposing namespaces other than `mbgl` in the public API.
14 lines
201 B
C++
14 lines
201 B
C++
#ifndef MBGL_UTIL_VARIANT
|
|
#define MBGL_UTIL_VARIANT
|
|
|
|
#include <mapbox/variant.hpp>
|
|
|
|
namespace mbgl {
|
|
|
|
template <typename... T>
|
|
using variant = mapbox::util::variant<T...>;
|
|
|
|
} // namespace mbgl
|
|
|
|
#endif
|