From eef192ab3ca5f1e3ed4e7eedddd392a21f1d55b4 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 21 Feb 2024 14:56:05 +1000 Subject: [PATCH] string: remove deprecated wstring to_uft8 convertors The `codecvt` routines are deprecated, and this code is entirely untested. --- string.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/string.cpp b/string.cpp index 1e95da92..f9e88370 100644 --- a/string.cpp +++ b/string.cpp @@ -9,6 +9,9 @@ #include "string.hpp" #include + + +#if 0 #include #include @@ -34,6 +37,7 @@ cruft::to_utf8 (const std::wstring &src) { return to_utf8 (src.c_str ()); } +#endif ///////////////////////////////////////////////////////////////////////////////