Remove unneeded call to c_str()
MODIFY
src/vcpkg_System.cpp
src/vcpkg_System.cpp
@@ -69,7 +69,7 @@ namespace vcpkg::System
for (auto&& env_wstring : env_wstrings)
{
- const optional<std::wstring> value = System::get_environmental_variable(env_wstring.c_str());
+ const optional<std::wstring> value = System::get_environmental_variable(env_wstring);
auto v = value.get();
if (!v || v->empty())
continue;

Remove unneeded call to c_str()