From ca4036a4b0ffdb0bb4f38066c01ccf70c67f8088 Mon Sep 17 00:00:00 2001 From: mwu Date: Wed, 21 Feb 2018 14:56:42 +0100 Subject: [PATCH] Explicitly qualify std::string. Having a global scope `string` type shall not break the compilation anymore. --- include/date/date.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/date/date.h b/include/date/date.h index 6f1e2f4..bcd764d 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -5788,7 +5788,7 @@ read_long_double(std::basic_istream& is, unsigned m = 1, unsigned unsigned count = 0; auto decimal_point = Traits::to_int_type( use_facet>(is.getloc()).decimal_point()); - string buf; + std::string buf; while (true) { auto ic = is.peek();