Skip to content

Commit

Permalink
Make unexpect available for djinni expected
Browse files Browse the repository at this point in the history
  • Loading branch information
jb-gcx committed Jul 15, 2024
1 parent 4b57d4a commit fe7e06e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions support-lib/cpp/expected.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace djinni {

using ::std::expected;
using ::std::unexpected;
inline constexpr ::std::unexpect_t unexpect{};

}

Expand All @@ -28,6 +29,7 @@ namespace djinni {

using ::tl::unexpected;
using ::tl::expected;
inline constexpr ::tl::unexpect_t unexpect{};

}

Expand Down

0 comments on commit fe7e06e

Please sign in to comment.