diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-15 14:39:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-15 14:39:41 +0100 |
| commit | 943af65e7833ef96bcfcfa957f1703d3a425c9ff (patch) | |
| tree | 3e605dad722d5c7091092c801fd8a3037508644f /src/locale_convert.cc | |
| parent | 3652809182f2ff89e552a519658cba2afc57ce28 (diff) | |
Add conversions from char.
Diffstat (limited to 'src/locale_convert.cc')
| -rw-r--r-- | src/locale_convert.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/locale_convert.cc b/src/locale_convert.cc index 64b21274..ca6f6552 100644 --- a/src/locale_convert.cc +++ b/src/locale_convert.cc @@ -152,6 +152,15 @@ dcp::locale_convert (char const * x, int, bool) template<> string +dcp::locale_convert (char x, int, bool) +{ + string s; + s += x; + return s; +} + +template<> +string dcp::locale_convert (boost::filesystem::path x, int, bool) { return x.string(); |
