Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[build] Enable RTTI
Browse files Browse the repository at this point in the history
  • Loading branch information
Juha Alanen committed Feb 10, 2020
1 parent 4c23135 commit 981f1f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ jobs:
command: |
cd test/ios
ccache --zero-stats --max-size=2G
cmake ../../next -B Build -G Xcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DMBGL_IOS_UNIT_TEST=1 -DCMAKE_OSX_ARCHITECTURES=arm64e
cmake ../../next -B Build -G Xcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DMBGL_IOS_UNIT_TEST=1 -DCMAKE_OSX_ARCHITECTURES=arm64e -DMBGL_WITH_RTTI=ON
cmake --build Build --target UnitTestsApp UnitTestsAppTests --config Release
ccache --show-stats
- run:
Expand Down
2 changes: 0 additions & 2 deletions test/tile/vector_tile.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ TEST(VectorTileData, ParseResults) {
ASSERT_TRUE(false) << "should throw: feature index is out of range.";
} catch (const std::out_of_range&) {
ASSERT_TRUE(true);
} catch (...) { // needed for iOS
ASSERT_TRUE(true);
}

std::unique_ptr<GeometryTileFeature> feature = layer->getFeature(0u);
Expand Down

0 comments on commit 981f1f9

Please sign in to comment.