Remove completely broken raw_convert from wchar_t.
authorCarl Hetherington <cth@carlh.net>
Mon, 21 Mar 2022 22:29:05 +0000 (23:29 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 21 Mar 2022 22:29:05 +0000 (23:29 +0100)
src/raw_convert.cc
src/raw_convert.h

index 7d3d1a72002b49511ca439eef728674b213fa063..4736bd960436c866da7d7fa776134f108d2ef261 100644 (file)
@@ -179,15 +179,6 @@ dcp::raw_convert (char v, int, bool)
 }
 
 
-template <>
-string
-dcp::raw_convert (wchar_t const * v, int, bool)
-{
-       wstring w (v);
-       return string (w.begin(), w.end());
-}
-
-
 template <>
 unsigned char
 dcp::raw_convert (std::string v, int precision, bool fixed)
index dff860e9a2414810b9b17f329f12063f9761a295..b767c23bc090f4236a49461a6dfa6a95c934e191 100644 (file)
@@ -116,10 +116,6 @@ template <>
 std::string
 raw_convert (std::string v, int, bool);
 
-template <>
-std::string
-raw_convert (wchar_t const * v, int, bool);
-
 template <>
 std::string
 raw_convert (char v, int, bool);