aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/VcpkgPaths.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/VcpkgPaths.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/VcpkgPaths.cpp')
-rw-r--r--toolsrc/src/VcpkgPaths.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/VcpkgPaths.cpp b/toolsrc/src/VcpkgPaths.cpp
index d491cb7fb..cb00183fd 100644
--- a/toolsrc/src/VcpkgPaths.cpp
+++ b/toolsrc/src/VcpkgPaths.cpp
@@ -10,9 +10,9 @@
namespace vcpkg
{
- // Intentionally wstring so we can easily use operator== with CWStringView.
- static const std::wstring V_140 = L"v140";
- static const std::wstring V_141 = L"v141";
+ static constexpr CWStringView V_120 = L"v120";
+ static constexpr CWStringView V_140 = L"v140";
+ static constexpr CWStringView V_141 = L"v141";
static bool exists_and_has_equal_or_greater_version(const std::wstring& version_cmd,
const std::array<int, 3>& expected_version)