aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_update.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-12-16 19:40:58 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-12-16 19:40:58 -0800
commitaad0cc4c042aad87b2b52eded0e465ed01e799c1 (patch)
tree1650d84c1cb415906fe9b2b60bd0ce4981c1095f /toolsrc/src/commands_update.cpp
parentb666e90c32e58a673331b303e64e299cc1168aa2 (diff)
downloadvcpkg-aad0cc4c042aad87b2b52eded0e465ed01e799c1.tar.gz
vcpkg-aad0cc4c042aad87b2b52eded0e465ed01e799c1.zip
Files::get_contents() -> Files::read_contents()
Diffstat (limited to 'toolsrc/src/commands_update.cpp')
-rw-r--r--toolsrc/src/commands_update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_update.cpp b/toolsrc/src/commands_update.cpp
index 82e3b7e52..a4ab7c6e7 100644
--- a/toolsrc/src/commands_update.cpp
+++ b/toolsrc/src/commands_update.cpp
@@ -71,7 +71,7 @@ namespace vcpkg
System::println("\nTo update these packages, run\n vcpkg remove --purge <pkgs>...\n vcpkg install <pkgs>...");
}
- auto version_file = Files::get_contents(paths.root / "toolsrc" / "VERSION.txt");
+ auto version_file = Files::read_contents(paths.root / "toolsrc" / "VERSION.txt");
if (auto version_contents = version_file.get())
{
int maj1, min1, rev1;