diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-09-12 20:57:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-09-12 20:57:26 +0100 |
| commit | f7c73615a49d308040a4a5d40677ecab08c21841 (patch) | |
| tree | 092fd21c74f330174e055d0b900e3ce9267417d8 /src/raw_convert.cc | |
| parent | 732f931e0559f29100b56f7f4a6e6be8820f0ff7 (diff) | |
More raw_convert long/long stuff.
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 432ce394..281772e7 100644 --- a/src/raw_convert.cc +++ b/src/raw_convert.cc @@ -167,6 +167,13 @@ dcp::raw_convert (string v, int precision, bool fixed) } template <> +long long +dcp::raw_convert (string v, int precision, bool fixed) +{ + return locale_convert<long long> (make_local (v), precision, fixed); +} + +template <> int dcp::raw_convert (char const * v, int precision, bool fixed) { |
