diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 14:48:24 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:44:41 -0700 |
| commit | 7ee180ebdd7ec93a4ba3c34c38fd467109365ad6 (patch) | |
| tree | 4a1cc5eec64304e59819fdd712fbbcc40d786ced /toolsrc/include | |
| parent | 83cde513345f5544325520b89ec3f1f27bd8b2a6 (diff) | |
| download | vcpkg-7ee180ebdd7ec93a4ba3c34c38fd467109365ad6.tar.gz vcpkg-7ee180ebdd7ec93a4ba3c34c38fd467109365ad6.zip | |
paragraph_parse_result -> ParagraphParseResult
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/ParagraphParseResult.h (renamed from toolsrc/include/paragraph_parse_result.h) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/toolsrc/include/paragraph_parse_result.h b/toolsrc/include/ParagraphParseResult.h index 47f20c08e..0d1f13f61 100644 --- a/toolsrc/include/paragraph_parse_result.h +++ b/toolsrc/include/ParagraphParseResult.h @@ -3,13 +3,13 @@ namespace vcpkg { - enum class paragraph_parse_result + enum class ParagraphParseResult { SUCCESS = 0, EXPECTED_ONE_PARAGRAPH }; - struct paragraph_parse_result_category_impl final : std::error_category + struct ParagraphParseResultCategoryImpl final : std::error_category { virtual const char* name() const noexcept override; @@ -18,18 +18,18 @@ namespace vcpkg const std::error_category& paragraph_parse_result_category(); - std::error_code make_error_code(paragraph_parse_result e); + std::error_code make_error_code(ParagraphParseResult e); - paragraph_parse_result to_paragraph_parse_result(int i); + ParagraphParseResult to_paragraph_parse_result(int i); - paragraph_parse_result to_paragraph_parse_result(std::error_code ec); + ParagraphParseResult to_paragraph_parse_result(std::error_code ec); } // Enable implicit conversion to std::error_code namespace std { template <> - struct is_error_code_enum<vcpkg::paragraph_parse_result> : ::std::true_type + struct is_error_code_enum<vcpkg::ParagraphParseResult> : ::std::true_type { }; } |
