summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLSource_Private.h
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@gmail.com>2018-11-20 10:26:09 -0500
committerGitHub <noreply@github.com>2018-11-20 10:26:09 -0500
commit90f609ca8fe92f89374a7c1438511cde0f72195a (patch)
tree575483facd4204f0da290a5c37da620107737f18 /platform/darwin/src/MGLSource_Private.h
parent9ac444a08d9701dc7b0da41859842a77d7be8e00 (diff)
downloadqtlocation-mapboxgl-90f609ca8fe92f89374a7c1438511cde0f72195a.tar.gz
[ios, macos] Added `-(BOOL)[MGLStyle removeSource:error:]` that provides an NSError. (#13399)
Diffstat (limited to 'platform/darwin/src/MGLSource_Private.h')
-rw-r--r--platform/darwin/src/MGLSource_Private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLSource_Private.h b/platform/darwin/src/MGLSource_Private.h
index d7d1f66641..af14c11b90 100644
--- a/platform/darwin/src/MGLSource_Private.h
+++ b/platform/darwin/src/MGLSource_Private.h
@@ -67,7 +67,7 @@ struct SourceWrapper {
to the `MGLSource` instance and the unique_ptr reference is valid again. It is
safe to add the source back to the style after it is removed.
*/
-- (void)removeFromMapView:(MGLMapView *)mapView;
+- (BOOL)removeFromMapView:(MGLMapView *)mapView error:(NSError * __nullable * __nullable)outError;
@end