mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
Ref T203, fixed gcc issue
static const CPlatform &linux() platform.h:129:33: error: expected unqualified-id before numeric constant
This commit is contained in:
@@ -63,7 +63,7 @@ namespace BlackMisc
|
||||
|
||||
const CPlatformSet &CPlatformSet::allPlatforms()
|
||||
{
|
||||
static const CPlatformSet platforms({ CPlatform::win32(), CPlatform::win64(), CPlatform::linux(), CPlatform::macOS() });
|
||||
static const CPlatformSet platforms({ CPlatform::win32Platform(), CPlatform::win64Platform(), CPlatform::linuxPlatform(), CPlatform::macOSPlatform() });
|
||||
return platforms;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user