diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-07 16:06:36 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-07 16:06:36 -0800 |
| commit | a721db2c1fbfc1b87065b0b43e32249117e53242 (patch) | |
| tree | 1b0a928249499fe6aefd08261ef9b46186d348c6 /toolsrc/src/main.cpp | |
| parent | 8e9338e4a00b44fd7721d8c6866c72d1502c3f97 (diff) | |
| download | vcpkg-a721db2c1fbfc1b87065b0b43e32249117e53242.tar.gz vcpkg-a721db2c1fbfc1b87065b0b43e32249117e53242.zip | |
Refactor: create new Paragraphs.h/cpp
Diffstat (limited to 'toolsrc/src/main.cpp')
| -rw-r--r-- | toolsrc/src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/main.cpp b/toolsrc/src/main.cpp index 2200cd105..22c45e5ab 100644 --- a/toolsrc/src/main.cpp +++ b/toolsrc/src/main.cpp @@ -12,6 +12,7 @@ #include "vcpkg_Files.h" #include "vcpkg_System.h" #include "vcpkg_Input.h" +#include "Paragraphs.h" using namespace vcpkg; @@ -115,7 +116,7 @@ static void loadConfig() std::string config_contents = Files::get_contents(localappdata / "vcpkg" / "config").get_or_throw(); std::unordered_map<std::string, std::string> keys; - auto pghs = parse_paragraphs(config_contents); + auto pghs = Paragraphs::parse_paragraphs(config_contents); if (pghs.size() > 0) keys = pghs[0]; |
