Skip to content

Commit

Permalink
Merge pull request microsoft#8638 from sryze/vs2017-build-fix
Browse files Browse the repository at this point in the history
Fix compile error in Visual Studio 2017 15.1
  • Loading branch information
vicroms authored Oct 18, 2019
2 parents 94ce38b + 78c0fd2 commit 69a5c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolsrc/src/vcpkg/install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ namespace vcpkg::Install
{
// The VS2015 standard library requires comparison operators of T and U
// to also support comparison of T and T, and of U and U, due to debug checks.
#if _MSC_VER < 1910
#if _MSC_VER <= 1910
bool operator()(const std::string& lhs, const std::string& rhs) { return lhs < rhs; }
bool operator()(const file_pack& lhs, const file_pack& rhs) { return lhs.first < rhs.first; }
#endif
Expand Down

0 comments on commit 69a5c70

Please sign in to comment.