aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorras0219 <533828+ras0219@users.noreply.github.com>2020-08-14 11:05:18 -0700
committerGitHub <noreply@github.com>2020-08-14 11:05:18 -0700
commit74ab3aae01243119be2c2cb5edb0c187c76002f6 (patch)
treec32f13038b14a9521007a7f9c561f579e64288af /toolsrc/include
parent7c5ea94190a9aa1ecb56a7388dd05c444a114421 (diff)
downloadvcpkg-74ab3aae01243119be2c2cb5edb0c187c76002f6.tar.gz
vcpkg-74ab3aae01243119be2c2cb5edb0c187c76002f6.zip
[vcpkg] Restore layering and purge unused ParagraphParseResult (#12897)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/paragraphparseresult.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/toolsrc/include/vcpkg/paragraphparseresult.h b/toolsrc/include/vcpkg/paragraphparseresult.h
deleted file mode 100644
index 558715bbc..000000000
--- a/toolsrc/include/vcpkg/paragraphparseresult.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-
-#include <system_error>
-
-namespace vcpkg
-{
- enum class ParagraphParseResult
- {
- SUCCESS = 0,
- EXPECTED_ONE_PARAGRAPH
- };
-
- struct ParagraphParseResultCategoryImpl final : std::error_category
- {
- virtual const char* name() const noexcept override;
-
- virtual std::string message(int ev) const noexcept override;
- };
-
- const std::error_category& paragraph_parse_result_category();
-
- std::error_code make_error_code(ParagraphParseResult e);
-
- ParagraphParseResult to_paragraph_parse_result(int i);
-
- ParagraphParseResult to_paragraph_parse_result(std::error_code ec);
-}
-
-namespace std
-{
- // Enable implicit conversion to std::error_code
- template<>
- struct is_error_code_enum<vcpkg::ParagraphParseResult> : ::std::true_type
- {
- };
-} \ No newline at end of file