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:
Klaus Basan
2017-12-12 22:25:45 +01:00
parent 9cc38c7f39
commit a4d4bd7056
3 changed files with 16 additions and 16 deletions

View File

@@ -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;
}