Explicitly qualify std::string. Having a global scope string type shall not break the compilation anymore.

This commit is contained in:
mwu 2018-02-21 14:56:42 +01:00 committed by Howard Hinnant
parent a1ceec19fe
commit ca4036a4b0

View File

@ -5788,7 +5788,7 @@ read_long_double(std::basic_istream<CharT, Traits>& is, unsigned m = 1, unsigned
unsigned count = 0;
auto decimal_point = Traits::to_int_type(
use_facet<numpunct<CharT>>(is.getloc()).decimal_point());
string buf;
std::string buf;
while (true)
{
auto ic = is.peek();