summaryrefslogtreecommitdiffstats
path: root/build2/function.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-13 00:35:17 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-13 14:03:02 +0300
commite5d55e3245e148d675d4be607f1bfa944c4559e7 (patch)
tree9a7aecf407b9718e2ecaaf3a0688ccc76b1977fe /build2/function.hxx
parentabf8895cc8611c23bda243e027360d7f91d47cc5 (diff)
downloadbuild2-e5d55e3245e148d675d4be607f1bfa944c4559e7.tar.gz
build2-e5d55e3245e148d675d4be607f1bfa944c4559e7.tar.xz
build2-e5d55e3245e148d675d4be607f1bfa944c4559e7.zip
Add workarounds for all cl releases until 20.00
Diffstat (limited to 'build2/function.hxx')
-rw-r--r--build2/function.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/function.hxx b/build2/function.hxx
index 0c021e38..e9e09391 100644
--- a/build2/function.hxx
+++ b/build2/function.hxx
@@ -135,10 +135,10 @@ namespace build2
D d)
: function_overload (an, mi, ma, move (ts), im)
{
- // std::is_pod appears to be broken in VC15 and also in GCC up to
+ // std::is_pod appears to be broken in VC16 and also in GCC up to
// 5 (pointers to members).
//
-#if !((defined(_MSC_VER) && _MSC_VER < 1920) || \
+#if !((defined(_MSC_VER) && _MSC_VER < 2000) || \
(defined(__GNUC__) && !defined(__clang__) && __GNUC__ <= 5))
static_assert (std::is_pod<D>::value, "type is not POD");
#endif