#include #include #include #include namespace mbgl { using namespace style; std::string fontStackToString(const FontStack& fontStack) { return boost::algorithm::join(fontStack, ","); } FontStackHash FontStackHasher::operator()(const FontStack& fontStack) const { std::size_t seed = 0; for (const auto& font : fontStack) { util::hash_combine(seed, font); } return seed; } std::set fontStacks(const std::vector>& layers) { std::set result; for (const auto& layer : layers) { layer->populateFontStack(result); } return result; } } // namespace mbgl