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:
Bart Louwers
2023-06-28 16:41:21 +02:00
committed by GitHub
parent 0cc65337fa
commit 9374765cb8
16 changed files with 328 additions and 126 deletions

View File

@@ -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;