aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/Paragraphs.h
diff options
context:
space:
mode:
authorDaniel Shaw <t-dansha@microsoft.com>2017-06-05 15:58:47 -0700
committerDaniel Shaw <t-dansha@microsoft.com>2017-06-06 14:02:59 -0700
commit264cd050e6280e5b87ec055e0a9d8985a7ba30b3 (patch)
treef508fa927970257011747643f893b182691dac1e /toolsrc/include/Paragraphs.h
parent7b4d83c444b0e7fee241ed293614efca17c67201 (diff)
downloadvcpkg-264cd050e6280e5b87ec055e0a9d8985a7ba30b3.tar.gz
vcpkg-264cd050e6280e5b87ec055e0a9d8985a7ba30b3.zip
ExpectedT factory class
Diffstat (limited to 'toolsrc/include/Paragraphs.h')
-rw-r--r--toolsrc/include/Paragraphs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/include/Paragraphs.h b/toolsrc/include/Paragraphs.h
index 66f6bd2e4..59f0eefc8 100644
--- a/toolsrc/include/Paragraphs.h
+++ b/toolsrc/include/Paragraphs.h
@@ -16,7 +16,8 @@ namespace vcpkg::Paragraphs
Expected<ParagraphDataMap> parse_single_paragraph(const std::string& str);
Expected<std::vector<ParagraphDataMap>> parse_paragraphs(const std::string& str);
- Expected<SourceParagraph> try_load_port(const Files::Filesystem& fs, const fs::path& control_path);
+ ExpectedT<SourceParagraph, ParseControlErrorInfo> try_load_port(const Files::Filesystem& fs,
+ const fs::path& control_path);
Expected<BinaryParagraph> try_load_cached_package(const VcpkgPaths& paths, const PackageSpec& spec);