Skip to content

Commit

Permalink
external: Update outcome to latest commit
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Gunnerson <[email protected]>
  • Loading branch information
chenxiaolong committed Jun 20, 2018
1 parent 4ddee20 commit c9fc804
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions cmake/CompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ if(CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# Except for "/*" within comment errors (present in doxygen blocks)
add_compile_options(-Wno-error=comment)

# outcome.hpp
add_compile_options(-Wno-parentheses)

# Enable PIC
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)

Expand Down
2 changes: 1 addition & 1 deletion external/outcome
Submodule outcome updated 108 files
2 changes: 1 addition & 1 deletion libmbsign/include/mbsign/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ inline const std::error_code & make_error_code(const ErrorInfo &ei)
}

// https://github.com/ned14/outcome/issues/118
inline void throw_as_system_error_with_payload(const ErrorInfo &ei)
inline void outcome_throw_as_system_error_with_payload(const ErrorInfo &ei)
{
(void) ei;
OUTCOME_THROW_EXCEPTION(std::system_error(make_error_code(ei)));
Expand Down
2 changes: 1 addition & 1 deletion libmbutil/include/mbutil/fstab.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ inline const std::error_code & make_error_code(const FstabErrorInfo &ei)
}

[[noreturn]]
inline void throw_as_system_error_with_payload(const FstabErrorInfo &ei)
inline void outcome_throw_as_system_error_with_payload(const FstabErrorInfo &ei)
{
(void) ei;
OUTCOME_THROW_EXCEPTION(std::system_error(make_error_code(ei)));
Expand Down

0 comments on commit c9fc804

Please sign in to comment.