aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_cache.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-07 16:06:36 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-07 16:06:36 -0800
commita721db2c1fbfc1b87065b0b43e32249117e53242 (patch)
tree1b0a928249499fe6aefd08261ef9b46186d348c6 /toolsrc/src/commands_cache.cpp
parent8e9338e4a00b44fd7721d8c6866c72d1502c3f97 (diff)
downloadvcpkg-a721db2c1fbfc1b87065b0b43e32249117e53242.tar.gz
vcpkg-a721db2c1fbfc1b87065b0b43e32249117e53242.zip
Refactor: create new Paragraphs.h/cpp
Diffstat (limited to 'toolsrc/src/commands_cache.cpp')
-rw-r--r--toolsrc/src/commands_cache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/commands_cache.cpp b/toolsrc/src/commands_cache.cpp
index 5e20a39af..634a72a64 100644
--- a/toolsrc/src/commands_cache.cpp
+++ b/toolsrc/src/commands_cache.cpp
@@ -2,6 +2,7 @@
#include "vcpkg_System.h"
#include "vcpkg_Files.h"
#include "vcpkg.h"
+#include "Paragraphs.h"
namespace vcpkg
{
@@ -17,7 +18,7 @@ namespace vcpkg
auto file_contents = Files::get_contents(path / "CONTROL");
if (auto text = file_contents.get())
{
- auto pghs = parse_paragraphs(*text);
+ auto pghs = Paragraphs::parse_paragraphs(*text);
if (pghs.size() != 1)
continue;