aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg_System.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-31 17:22:08 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-31 17:22:08 -0700
commita6aa410f9fb7855b9cc94bae00d15fea8018250e (patch)
tree090596d28bd91bc8969e238a99a63770576dd949 /toolsrc/src/vcpkg_System.cpp
parent31e55704f5854b27d80e93576f182342f6e73707 (diff)
downloadvcpkg-a6aa410f9fb7855b9cc94bae00d15fea8018250e.tar.gz
vcpkg-a6aa410f9fb7855b9cc94bae00d15fea8018250e.zip
Remove System::set_environmental_variable()
Diffstat (limited to 'toolsrc/src/vcpkg_System.cpp')
-rw-r--r--toolsrc/src/vcpkg_System.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/toolsrc/src/vcpkg_System.cpp b/toolsrc/src/vcpkg_System.cpp
index d125be078..767017f76 100644
--- a/toolsrc/src/vcpkg_System.cpp
+++ b/toolsrc/src/vcpkg_System.cpp
@@ -175,11 +175,6 @@ namespace vcpkg::System
return *ret.release();
}
- void set_environmental_variable(const cwstring_view varname, const cwstring_view varvalue) noexcept
- {
- _wputenv_s(varname, varvalue);
- }
-
static bool is_string_keytype(DWORD hkey_type)
{
return hkey_type == REG_SZ || hkey_type == REG_MULTI_SZ || hkey_type == REG_EXPAND_SZ;