From 8aaf029ab6046eb8cbe600a548d176c1418bd99a Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 2 Oct 2020 14:42:30 -0400 Subject: add upstream 11.2 --- zen/legacy_compiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zen/legacy_compiler.cpp') diff --git a/zen/legacy_compiler.cpp b/zen/legacy_compiler.cpp index 66125b0f..81efb4dd 100644 --- a/zen/legacy_compiler.cpp +++ b/zen/legacy_compiler.cpp @@ -9,13 +9,13 @@ #error get rid of workarounds #endif -double zen::from_chars(const char* first, const char* last) +double zen::fromChars(const char* first, const char* last) { return std::strtod(std::string(first, last).c_str(), nullptr); } -const char* zen::to_chars(char* first, char* last, double num) +const char* zen::toChars(char* first, char* last, double num) { const size_t bufSize = last - first; const int charsWritten = std::snprintf(first, bufSize, "%g", num); -- cgit