aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/Paragraphs.h
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-03 16:26:54 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-04 16:44:45 -0700
commit9e19213498a4f77aa9b55ce1e81a3efaabfc9844 (patch)
tree52a29894cd34887e413c1c2624c22817fdb65096 /toolsrc/include/Paragraphs.h
parentccbb2ebcdafa3978105115840285466d57c87186 (diff)
downloadvcpkg-9e19213498a4f77aa9b55ce1e81a3efaabfc9844.tar.gz
vcpkg-9e19213498a4f77aa9b55ce1e81a3efaabfc9844.zip
expected -> Expected
Diffstat (limited to 'toolsrc/include/Paragraphs.h')
-rw-r--r--toolsrc/include/Paragraphs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/toolsrc/include/Paragraphs.h b/toolsrc/include/Paragraphs.h
index 9135e0c7b..f466741c4 100644
--- a/toolsrc/include/Paragraphs.h
+++ b/toolsrc/include/Paragraphs.h
@@ -11,14 +11,14 @@ namespace vcpkg::Paragraphs
{
using ParagraphDataMap = std::unordered_map<std::string, std::string>;
- expected<ParagraphDataMap> get_single_paragraph(const fs::path& control_path);
- expected<std::vector<ParagraphDataMap>> get_paragraphs(const fs::path& control_path);
- expected<ParagraphDataMap> parse_single_paragraph(const std::string& str);
- expected<std::vector<ParagraphDataMap>> parse_paragraphs(const std::string& str);
+ Expected<ParagraphDataMap> get_single_paragraph(const fs::path& control_path);
+ Expected<std::vector<ParagraphDataMap>> get_paragraphs(const fs::path& control_path);
+ 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 fs::path& control_path);
+ Expected<SourceParagraph> try_load_port(const fs::path& control_path);
- expected<BinaryParagraph> try_load_cached_package(const vcpkg_paths& paths, const PackageSpec& spec);
+ Expected<BinaryParagraph> try_load_cached_package(const vcpkg_paths& paths, const PackageSpec& spec);
std::vector<SourceParagraph> load_all_ports(const fs::path& ports_dir);