From 6e90704790f7e66e1b360c6d073524a55d5cfcda Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 29 May 2017 19:06:13 +0200 Subject: Work around VC14 bug --- build2/cc/compile.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build2') diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index 9fe0a5c..5a95169 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -29,8 +29,9 @@ namespace build2 { using namespace bin; + template inline bool - operator< (preprocessed l, preprocessed r) + operator< (preprocessed l, T r) // Template because of VC14 bug. { return static_cast (l) < static_cast (r); } -- cgit v1.1