From bf73c1fb4ad009935925b94f3ef8e4bffae1bef3 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Wed, 26 Apr 2023 20:10:13 +0100 Subject: [PATCH] Yet more fixes for clang-cl --- include/outcome/detail/value_storage.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/outcome/detail/value_storage.hpp b/include/outcome/detail/value_storage.hpp index 4e12c6e49e..c8c6af7fea 100644 --- a/include/outcome/detail/value_storage.hpp +++ b/include/outcome/detail/value_storage.hpp @@ -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}; @@ -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}; @@ -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};