2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-21 03:02:13 +00:00

Remove ryu::d2s

This commit is contained in:
Dmitry Arkhipov
2021-05-04 00:25:06 +03:00
parent cf7c707361
commit dffb248677
4 changed files with 148 additions and 143 deletions

View File

@@ -727,14 +727,6 @@ d2s_buffered(
result[index] = '\0';
}
char*
d2s(double f) noexcept
{
static thread_local char result[25];
d2s_buffered(f, result);
return result;
}
} // ryu
} // detail

View File

@@ -35,9 +35,6 @@ int d2s_buffered_n(double f, char* result) noexcept;
BOOST_JSON_DECL
void d2s_buffered(double f, char* result) noexcept;
BOOST_JSON_DECL
char* d2s(double f) noexcept;
} // ryu
} // detail