mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 11:53:03 +08:00
Use Strings::EMPTY
This commit is contained in:
parent
259d6f83b4
commit
7d46adb47c
@ -23,7 +23,7 @@ namespace vcpkg::System
|
|||||||
|
|
||||||
ExitCodeAndOutput cmd_execute_and_capture_output(const CWStringView cmd_line);
|
ExitCodeAndOutput cmd_execute_and_capture_output(const CWStringView cmd_line);
|
||||||
|
|
||||||
std::wstring create_powershell_script_cmd(const fs::path& script_path, const CWStringView args = L"");
|
std::wstring create_powershell_script_cmd(const fs::path& script_path, const CWStringView args = Strings::WEMPTY);
|
||||||
|
|
||||||
enum class Color
|
enum class Color
|
||||||
{
|
{
|
||||||
|
@ -80,10 +80,10 @@ namespace vcpkg
|
|||||||
BinaryParagraph::BinaryParagraph(const SourceParagraph& spgh, const FeatureParagraph& fpgh, const Triplet& triplet)
|
BinaryParagraph::BinaryParagraph(const SourceParagraph& spgh, const FeatureParagraph& fpgh, const Triplet& triplet)
|
||||||
{
|
{
|
||||||
this->spec = PackageSpec::from_name_and_triplet(spgh.name, triplet).value_or_exit(VCPKG_LINE_INFO);
|
this->spec = PackageSpec::from_name_and_triplet(spgh.name, triplet).value_or_exit(VCPKG_LINE_INFO);
|
||||||
this->version = "";
|
this->version = Strings::EMPTY;
|
||||||
this->feature = fpgh.name;
|
this->feature = fpgh.name;
|
||||||
this->description = fpgh.description;
|
this->description = fpgh.description;
|
||||||
this->maintainer = "";
|
this->maintainer = Strings::EMPTY;
|
||||||
this->depends = filter_dependencies(fpgh.depends, triplet);
|
this->depends = filter_dependencies(fpgh.depends, triplet);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user