mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-16 18:26:35 +08:00
[vcpkg_Dependencies.cpp] Remove redundant else
This commit is contained in:
parent
63a9572ecf
commit
174c264b44
@ -193,17 +193,15 @@ namespace vcpkg::Dependencies
|
||||
{
|
||||
return this->spec.to_string();
|
||||
}
|
||||
else
|
||||
{
|
||||
std::string features;
|
||||
for (auto&& feature : this->feature_list)
|
||||
{
|
||||
features += feature + ",";
|
||||
}
|
||||
features.pop_back();
|
||||
|
||||
return this->spec.name() + "[" + features + "]:" + this->spec.triplet().to_string();
|
||||
std::string features;
|
||||
for (auto&& feature : this->feature_list)
|
||||
{
|
||||
features += feature + ",";
|
||||
}
|
||||
features.pop_back();
|
||||
|
||||
return this->spec.name() + "[" + features + "]:" + this->spec.triplet().to_string();
|
||||
}
|
||||
|
||||
bool InstallPlanAction::compare_by_name(const InstallPlanAction* left, const InstallPlanAction* right)
|
||||
|
Loading…
x
Reference in New Issue
Block a user