From e87beb8fe39fd47544e0d8bd8772fb07e06911e7 Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Fri, 28 Jan 2022 21:53:45 +0100 Subject: [PATCH] Remove no-longer-needed ifdef --- src/openrct2/core/File.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/openrct2/core/File.cpp b/src/openrct2/core/File.cpp index 83f4feeb346e..28c61dd24f4e 100644 --- a/src/openrct2/core/File.cpp +++ b/src/openrct2/core/File.cpp @@ -61,12 +61,7 @@ namespace File std::vector ReadAllBytes(u8string_view path) { -#if defined(_WIN32) && !defined(__MINGW32__) - auto pathW = String::ToWideChar(path); - std::ifstream fs(pathW, std::ios::in | std::ios::binary); -#else std::ifstream fs(u8string(path), std::ios::in | std::ios::binary); -#endif if (!fs.is_open()) { throw IOException("Unable to open " + u8string(path));