Skip to content

Commit

Permalink
Yet more fixes for clang-cl
Browse files Browse the repository at this point in the history
  • Loading branch information
ned14 committed Apr 26, 2023
1 parent 4d4290c commit bf73c1f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions include/outcome/detail/value_storage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1288,11 +1288,11 @@ namespace detail
bool all_good{false};
~_()
{
if(!all_good)
if(!this->all_good)
{
// We lost one of the values
a.set_have_lost_consistency(true);
b.set_have_lost_consistency(true);
this->a.set_have_lost_consistency(true);
this->b.set_have_lost_consistency(true);
}
}
} _{_status, o._status};
Expand All @@ -1309,11 +1309,11 @@ namespace detail
bool all_good{false};
~_()
{
if(!all_good)
if(!this->all_good)
{
// We lost one of the values
a.set_have_lost_consistency(true);
b.set_have_lost_consistency(true);
this->a.set_have_lost_consistency(true);
this->b.set_have_lost_consistency(true);
}
}
} _{_status, o._status};
Expand Down Expand Up @@ -1375,11 +1375,11 @@ namespace detail
bool all_good{true};
~_()
{
if(!all_good)
if(!this->all_good)
{
// We lost one of the values
a.set_have_lost_consistency(true);
b.set_have_lost_consistency(true);
this->a.set_have_lost_consistency(true);
this->b.set_have_lost_consistency(true);
}
}
} _{_status, o._status, &_value, &o._value, &_error, &o._error};
Expand Down

0 comments on commit bf73c1f

Please sign in to comment.