diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-08-23 16:17:53 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-08-24 16:29:40 -0700 |
| commit | e237682cad4eaa582a10b5ad03a59ca6449e0795 (patch) | |
| tree | 6850152901be7ab8ea7462fac572850d68a2dbde /toolsrc/src/Paragraphs.cpp | |
| parent | 8fc510e1f946208409bd8ba1159b2e19bf553909 (diff) | |
| download | vcpkg-e237682cad4eaa582a10b5ad03a59ca6449e0795.tar.gz vcpkg-e237682cad4eaa582a10b5ad03a59ca6449e0795.zip | |
Introduce GlobalState struct
Diffstat (limited to 'toolsrc/src/Paragraphs.cpp')
| -rw-r--r-- | toolsrc/src/Paragraphs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/Paragraphs.cpp b/toolsrc/src/Paragraphs.cpp index 3a30f66a3..a7dee4fd3 100644 --- a/toolsrc/src/Paragraphs.cpp +++ b/toolsrc/src/Paragraphs.cpp @@ -3,6 +3,7 @@ #include "ParagraphParseResult.h" #include "Paragraphs.h" #include "vcpkg_Files.h" +#include "vcpkg_GlobalState.h" #include "vcpkg_Util.h" using namespace vcpkg::Parse; @@ -210,7 +211,7 @@ namespace vcpkg::Paragraphs if (auto vector_pghs = pghs.get()) { auto csf = SourceControlFile::parse_control_file(std::move(*vector_pghs)); - if (!g_feature_packages) + if (!GlobalState::feature_packages) { if (auto ptr = csf.get()) { |
