mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-16 18:39:13 +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);
|
||||
|
||||
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
|
||||
{
|
||||
|
@ -80,10 +80,10 @@ namespace vcpkg
|
||||
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->version = "";
|
||||
this->version = Strings::EMPTY;
|
||||
this->feature = fpgh.name;
|
||||
this->description = fpgh.description;
|
||||
this->maintainer = "";
|
||||
this->maintainer = Strings::EMPTY;
|
||||
this->depends = filter_dependencies(fpgh.depends, triplet);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user