[core] Rationalize naming for style-related code

This commit is contained in:
John Firebaugh
2016-04-26 16:39:56 -07:00
parent 18149cbcc2
commit c902f9098b
156 changed files with 1079 additions and 805 deletions

View File

@@ -0,0 +1,16 @@
#include <mbgl/util/font_stack.hpp>
#include <boost/functional/hash.hpp>
#include <boost/algorithm/string/join.hpp>
namespace mbgl {
std::string fontStackToString(const FontStack& fontStack) {
return boost::algorithm::join(fontStack, ",");
}
std::size_t FontStackHash::operator()(const FontStack& fontStack) const {
return boost::hash_range(fontStack.begin(), fontStack.end());
}
} // namespace mbgl