From 84e26884cbbc692062c20798fc12cd90ca4383c4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 13 Apr 2018 14:55:51 +0200 Subject: Add workarounds for VC15u7 --- build2/test/script/regex.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/test') diff --git a/build2/test/script/regex.hxx b/build2/test/script/regex.hxx index cc1ac04..7bbbe98 100644 --- a/build2/test/script/regex.hxx +++ b/build2/test/script/regex.hxx @@ -424,7 +424,7 @@ namespace std // template <> class ctype: public ctype_base -#if !defined(_MSC_VER) || _MSC_VER > 1913 +#if !defined(_MSC_VER) || _MSC_VER > 1914 , public locale::facet #endif { @@ -437,7 +437,7 @@ namespace std static locale::id id; -#if !defined(_MSC_VER) || _MSC_VER > 1913 +#if !defined(_MSC_VER) || _MSC_VER > 1914 explicit ctype (size_t refs = 0): locale::facet (refs) {} #else @@ -520,7 +520,7 @@ namespace std // Workaround for msvcrt bugs. For some reason it assumes such a members // to be present in a regex_traits specialization. // -#if defined(_MSC_VER) && _MSC_VER <= 1913 +#if defined(_MSC_VER) && _MSC_VER <= 1914 static const ctype_base::mask _Ch_upper = ctype_base::upper; static const ctype_base::mask _Ch_alpha = ctype_base::alpha; -- cgit v1.1