From d48cc650a8afbf2842c3390a466afcd7dd4be3d2 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 28 Dec 2020 18:39:16 +0100 Subject: [PATCH] source/Platform/PlatformApplication.cpp: ApplicationType is defined by some Win32 headers. --- source/Platform/PlatformApplication.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Platform/PlatformApplication.cpp b/source/Platform/PlatformApplication.cpp index 9bd32b3..f50e54b 100644 --- a/source/Platform/PlatformApplication.cpp +++ b/source/Platform/PlatformApplication.cpp @@ -3,10 +3,10 @@ #ifdef SPECTRE_PLATFORM_WIN #include -typedef sp::Win32Application ApplicationType; +typedef sp::Win32Application ApplicationImpl; #elif SPECTRE_PLATFORM_UNIX #include -typedef sp::UnixApplication ApplicationType; +typedef sp::UnixApplication ApplicationImpl; #else #error "No Application implementation exists" #endif @@ -15,7 +15,7 @@ namespace sp { PlatformApplication* PlatformApplication::create() { - return new ApplicationType; + return new ApplicationImpl; } } // namespace sp