mirror of
https://github.com/HowardHinnant/date.git
synced 2025-01-14 09:47:57 +08:00
Explicitly qualify std::string. Having a global scope string
type shall not break the compilation anymore.
This commit is contained in:
parent
a1ceec19fe
commit
ca4036a4b0
@ -5788,7 +5788,7 @@ read_long_double(std::basic_istream<CharT, Traits>& is, unsigned m = 1, unsigned
|
|||||||
unsigned count = 0;
|
unsigned count = 0;
|
||||||
auto decimal_point = Traits::to_int_type(
|
auto decimal_point = Traits::to_int_type(
|
||||||
use_facet<numpunct<CharT>>(is.getloc()).decimal_point());
|
use_facet<numpunct<CharT>>(is.getloc()).decimal_point());
|
||||||
string buf;
|
std::string buf;
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
auto ic = is.peek();
|
auto ic = is.peek();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user