From c13d0e96ef3f48cd84f9d631cb2f694b1ec3f121 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 28 Jan 2021 19:58:35 +0400 Subject: [PATCH] Fix build. --- Telegram/SourceFiles/core/crash_reports.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/Telegram/SourceFiles/core/crash_reports.cpp b/Telegram/SourceFiles/core/crash_reports.cpp index eef6bc32fe..2327942986 100644 --- a/Telegram/SourceFiles/core/crash_reports.cpp +++ b/Telegram/SourceFiles/core/crash_reports.cpp @@ -318,26 +318,6 @@ bool DumpCallback(const google_breakpad::MinidumpDescriptor &md, void *context, #endif // !DESKTOP_APP_DISABLE_CRASH_REPORTS } // namespace -if (Platform::IsWindowsStoreBuild()) { - return Platform::IsWindows64Bit() - ? "WinStore64Bit" - : "WinStore32Bit"; -} else if (Platform::IsWindows32Bit()) { - return "Windows32Bit"; -} else if (Platform::IsWindows64Bit()) { - return "Windows64Bit"; -} else if (Platform::IsMacStoreBuild()) { - return "MacAppStore"; -} else if (Platform::IsOSXBuild()) { - return "OSX"; -} else if (Platform::IsMac()) { - return "MacOS"; -} else if (Platform::IsLinux32Bit()) { - return "Linux32Bit"; -} else if (Platform::IsLinux64Bit()) { - return "Linux64bit"; -} -Unexpected("Platform in CrashReports::PlatformString."); QString PlatformString() { if (Platform::IsWindowsStoreBuild()) {