Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Expected bug (#55)
Browse files Browse the repository at this point in the history
Fix expected bugs
  • Loading branch information
rnburn authored Feb 14, 2018
1 parent 8bdb0d8 commit d5fde12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 3rd_party/include/opentracing/expected/expected.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ union storage_t
return std::move( m_value );
}

value_type * value_ptr() const
const value_type * value_ptr() const
{
return &m_value;
}
Expand Down Expand Up @@ -694,7 +694,7 @@ class expected
: ( error_traits<error_type>::rethrow( contained.error() ), contained.value() );
}

constexpr value_type && value() &&
value_type && value() &&
{
return has_value()
? ( contained.value() )
Expand Down

0 comments on commit d5fde12

Please sign in to comment.