diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-19 14:32:15 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-19 14:33:00 +0200 |
commit | 3bcc661779783e8554a5e242d721164cbe360440 (patch) | |
tree | 877f4210e1f59e19577ceb90339c9ec8672dba4b /vespalib | |
parent | eb9594bb25aef4ac9f90d6a83c6dd5003a7f4750 (diff) |
Use locale insensitiv atof
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/locale/c.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/locale/c.h b/vespalib/src/vespa/vespalib/locale/c.h index a3587b64f55..ff7d0c18639 100644 --- a/vespalib/src/vespa/vespalib/locale/c.h +++ b/vespalib/src/vespa/vespalib/locale/c.h @@ -7,5 +7,7 @@ namespace vespalib::locale::c { double strtod(const char *nptr, char **endptr); float strtof(const char *nptr, char **endptr); +inline double atof(const char *nptr) { return strtod(nptr, nullptr); } + } |