aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-08-28 18:46:28 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-08-28 19:54:01 -0700
commit7d46adb47ca332a072ffb382e4a533aa68a17062 (patch)
tree4c5b8155c14020c049fe2ef520948a0ad9da42c8
parent259d6f83b46da9b7127eb8c7907cdcb74ce5bdf4 (diff)
downloadvcpkg-7d46adb47ca332a072ffb382e4a533aa68a17062.tar.gz
vcpkg-7d46adb47ca332a072ffb382e4a533aa68a17062.zip
Use Strings::EMPTY
-rw-r--r--toolsrc/include/vcpkg_System.h2
-rw-r--r--toolsrc/src/BinaryParagraph.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/include/vcpkg_System.h b/toolsrc/include/vcpkg_System.h
index 32da6e39c..86bb24aad 100644
--- a/toolsrc/include/vcpkg_System.h
+++ b/toolsrc/include/vcpkg_System.h
@@ -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
{
diff --git a/toolsrc/src/BinaryParagraph.cpp b/toolsrc/src/BinaryParagraph.cpp
index 97923c3c4..783fa6ace 100644
--- a/toolsrc/src/BinaryParagraph.cpp
+++ b/toolsrc/src/BinaryParagraph.cpp
@@ -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);
}