aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/PostBuildLint.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-10-03 15:51:04 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-10-03 15:51:24 -0700
commit3838d5880470fdc884f035ed3d1c67d3bdd1e16e (patch)
treea12cdb0b99a4999649d93a7710d7a0a96fc1ffe9 /toolsrc/src/PostBuildLint.cpp
parent85f0a060db8be34f4fce134be450bd1e4bd2b06f (diff)
downloadvcpkg-3838d5880470fdc884f035ed3d1c67d3bdd1e16e.tar.gz
vcpkg-3838d5880470fdc884f035ed3d1c67d3bdd1e16e.zip
[vcpkg] Add more operator== to CStringView. Uppercase Span to follow naming convention.
Diffstat (limited to 'toolsrc/src/PostBuildLint.cpp')
-rw-r--r--toolsrc/src/PostBuildLint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/PostBuildLint.cpp b/toolsrc/src/PostBuildLint.cpp
index 1fd48d3ec..416d4a636 100644
--- a/toolsrc/src/PostBuildLint.cpp
+++ b/toolsrc/src/PostBuildLint.cpp
@@ -38,7 +38,7 @@ namespace vcpkg::PostBuildLint
}
};
- const std::vector<OutdatedDynamicCrt>& get_outdated_dynamic_crts()
+ Span<const OutdatedDynamicCrt> get_outdated_dynamic_crts(CStringView toolset)
{
static const std::vector<OutdatedDynamicCrt> V_NO_MSVCRT = {
{"msvcp100.dll", R"(msvcp100\.dll)"},
@@ -662,7 +662,7 @@ namespace vcpkg::PostBuildLint
"Running command:\n %s\n failed",
Strings::to_utf8(cmd_line));
- for (const OutdatedDynamicCrt& outdated_crt : get_outdated_dynamic_crts())
+ for (const OutdatedDynamicCrt& outdated_crt : get_outdated_dynamic_crts("v141"))
{
if (std::regex_search(ec_data.output.cbegin(), ec_data.output.cend(), outdated_crt.regex))
{