Add target for iOS render test to Bazel (#1277)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -814,7 +814,14 @@ void TestRunner::run(TestMetadata& metadata) {
|
||||
auto it = std::find_if(symbols.begin(), symbols.end(), [isIcon, box](const auto& a) {
|
||||
return a.isIcon == isIcon && a.location.min == box.min && a.location.max == box.max;
|
||||
});
|
||||
|
||||
// TODO: remove usage of std::codecvt_utf8
|
||||
// https://github.com/maplibre/maplibre-native/issues/1269
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
static std::wstring_convert<std::codecvt_utf8<char16_t>, char16_t> cv;
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
if (it == symbols.end()) {
|
||||
symbols.push_back({tileId, box, placed, isIcon});
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user