Remove PackageSpec& operator<< overload
MODIFY
include/PackageSpec.h
include/PackageSpec.h
@@ -25,8 +25,6 @@ namespace vcpkg
};
bool operator==(const PackageSpec& left, const PackageSpec& right);
-
- std::ostream& operator<<(std::ostream& os, const PackageSpec& spec);
} //namespace vcpkg
namespace std

MODIFY
src/PackageSpec.cpp
src/PackageSpec.cpp
@@ -64,9 +64,4 @@ namespace vcpkg
{
return left.name() == right.name() && left.target_triplet() == right.target_triplet();
}
-
- std::ostream& operator<<(std::ostream& os, const PackageSpec& spec)
- {
- return os << spec.to_string();
- }
}

Remove PackageSpec& operator<< overload