mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 18:47:09 +01:00
Fix compile error in Visual Studio 2017 15.1
This commit is contained in:
parent
75b4620da5
commit
78c0fd26c4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user