mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-25 06:49:29 +00:00
fix(core): fix GCC 10 compatibility
With GCC 10, SOGoAptFormatter.m FTBS with the following error:
SOGoAptFormatter.m: In function ‘-[SOGoAptFormatter setPrivateTitleOnly]’:
SOGoAptFormatter.m:104:56: error: expected ‘)’ before ‘::’ token
104 | self->formatAction = @selector(titleOnlyForPrivateApt::);
Simply name the second argument, so gcc is happy.
Also add the `external` keyword to a header declared variable.
Fixes #5029
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
|
||||
@class WOResponse;
|
||||
|
||||
NSArray *SOGoMailCoreInfoKeys;
|
||||
extern NSArray *SOGoMailCoreInfoKeys;
|
||||
|
||||
@interface SOGoMailObject : SOGoMailBaseObject
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user