aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_import.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_import.cpp
parent8e9338e4a00b44fd7721d8c6866c72d1502c3f97 (diff)
downloadvcpkg-a721db2c1fbfc1b87065b0b43e32249117e53242.tar.gz
vcpkg-a721db2c1fbfc1b87065b0b43e32249117e53242.zip
Refactor: create new Paragraphs.h/cpp
Diffstat (limited to 'toolsrc/src/commands_import.cpp')
-rw-r--r--toolsrc/src/commands_import.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/commands_import.cpp b/toolsrc/src/commands_import.cpp
index 9cfc53d6c..7a6139085 100644
--- a/toolsrc/src/commands_import.cpp
+++ b/toolsrc/src/commands_import.cpp
@@ -1,5 +1,6 @@
#include "vcpkg_Commands.h"
#include "vcpkg.h"
+#include "Paragraphs.h"
namespace vcpkg
{
@@ -12,7 +13,7 @@ namespace vcpkg
const fs::path include_directory(args.command_arguments[1]);
const fs::path project_directory(args.command_arguments[2]);
- auto pghs = get_paragraphs(control_file_path);
+ auto pghs = Paragraphs::get_paragraphs(control_file_path);
Checks::check_throw(pghs.size() == 1, "Invalid control file for package");
StatusParagraph spgh;