diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-21 23:29:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-24 10:30:27 +0100 |
| commit | 567e100ea8a633d0e53d32c836d6ba7aeb22771a (patch) | |
| tree | e79fa980f3e3a8114003e1329dc6c6e5b01363ae | |
| parent | 066e30f30f851396bd6f10d50a448507e1c0b392 (diff) | |
Remove completely broken raw_convert from wchar_t.
| -rw-r--r-- | src/raw_convert.cc | 9 | ||||
| -rw-r--r-- | src/raw_convert.h | 4 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/raw_convert.cc b/src/raw_convert.cc index 7d3d1a72..4736bd96 100644 --- a/src/raw_convert.cc +++ b/src/raw_convert.cc @@ -180,15 +180,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) { diff --git a/src/raw_convert.h b/src/raw_convert.h index dff860e9..b767c23b 100644 --- a/src/raw_convert.h +++ b/src/raw_convert.h @@ -118,10 +118,6 @@ 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); template <> |
