summaryrefslogtreecommitdiff
path: root/src/raw_convert.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-15 13:25:45 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-15 13:25:45 +0100
commitce66af3d9056d2b8de6d5b2f8ce0caa100a66dec (patch)
treee259a0285662cadf6fba0b9dc4859d19701ca65f /src/raw_convert.cc
parent886a2080dd9aa90fff8a567b0e4df43b737e36c6 (diff)
Hack.
Diffstat (limited to 'src/raw_convert.cc')
-rw-r--r--src/raw_convert.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/raw_convert.cc b/src/raw_convert.cc
index 09523b54..9be10b98 100644
--- a/src/raw_convert.cc
+++ b/src/raw_convert.cc
@@ -59,6 +59,20 @@ make_local (string v)
template <>
string
+dcp::raw_convert (int16_t v, int precision, bool fixed)
+{
+ return make_raw (locale_convert<string> (v, precision, fixed));
+}
+
+template <>
+string
+dcp::raw_convert (uint16_t v, int precision, bool fixed)
+{
+ return make_raw (locale_convert<string> (v, precision, fixed));
+}
+
+template <>
+string
dcp::raw_convert (int32_t v, int precision, bool fixed)
{
return make_raw (locale_convert<string> (v, precision, fixed));