From 139db5cc169f6cfd97a039bcd37c0150e8fe8df2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 26 Dec 2020 12:31:07 +0100 Subject: [PATCH] Fix harmless warning about missing return type in initWithSession: The return type defaults to "id" anyhow, but it's better to specify it explicitly. --- src/osx/webrequest_urlsession.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/webrequest_urlsession.mm b/src/osx/webrequest_urlsession.mm index 84cfcc643e..2fc6ee6e12 100644 --- a/src/osx/webrequest_urlsession.mm +++ b/src/osx/webrequest_urlsession.mm @@ -34,7 +34,7 @@ @implementation wxWebSessionDelegate -- initWithSession:(wxWebSessionURLSession*)session +- (id)initWithSession:(wxWebSessionURLSession*)session { m_session = session; m_requests = [[NSMapTable weakToStrongObjectsMapTable] retain];