diff options
-rw-r--r-- | build2/cc/compile.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 <typename T> inline bool - operator< (preprocessed l, preprocessed r) + operator< (preprocessed l, T r) // Template because of VC14 bug. { return static_cast<uint8_t> (l) < static_cast<uint8_t> (r); } |