Remove unneeded call to c_str()

This commit is contained in:
Alexander Karatarakis 2017-03-28 19:26:07 -07:00
parent 42bd55e3ae
commit 970a179cfd

View File

@ -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;