From 16e1ca74f20d032ee53c6f05fc1d9135ac2d4235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sat, 27 May 2023 20:07:52 +0200 Subject: [PATCH] Mark Platform::WinNarrow/WinWiden as to-be-eventually-deprecated --- src/common/platform/Platform.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/platform/Platform.h b/src/common/platform/Platform.h index 9016cd3c2..272555242 100644 --- a/src/common/platform/Platform.h +++ b/src/common/platform/Platform.h @@ -39,6 +39,8 @@ namespace Platform bool ReadFile(std::vector &fileData, ByteString filename); bool WriteFile(const std::vector &fileData, ByteString filename); + // TODO: Remove these and switch to *A Win32 API variants when we stop fully supporting windows + // versions older than win10 1903, for example when win10 reaches EOL, see 18084d5aa0e5. ByteString WinNarrow(const std::wstring &source); std::wstring WinWiden(const ByteString &source);