diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-09-12 10:40:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-09-12 10:40:10 +0100 |
| commit | 599af5820d963f9e14516182524f05285c77f66e (patch) | |
| tree | 74ed535ed1e12e03fc701f323a2878dec4201325 /src/raw_convert.cc | |
| parent | da99d514dea384babf98d5a47cca3ab864e9a4e4 (diff) | |
Remove mysterious use of locked_stringstream.
Diffstat (limited to 'src/raw_convert.cc')
| -rw-r--r-- | src/raw_convert.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/raw_convert.cc b/src/raw_convert.cc index aed965ad..432ce394 100644 --- a/src/raw_convert.cc +++ b/src/raw_convert.cc @@ -160,6 +160,13 @@ dcp::raw_convert (string v, int precision, bool fixed) } template <> +long +dcp::raw_convert (string v, int precision, bool fixed) +{ + return locale_convert<long> (make_local (v), precision, fixed); +} + +template <> int dcp::raw_convert (char const * v, int precision, bool fixed) { |
