]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/outcome/detail/basic_result_final.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / outcome / detail / basic_result_final.hpp
index f54e321438255058da54aec0bceb77db4646e8fb..dee38e19ecc0897e05385256c31463622f3c5084 100644 (file)
@@ -1,5 +1,5 @@
 /* Finaliser for a very simple result type
-(C) 2017-2020 Niall Douglas <http://www.nedproductions.biz/> (5 commits)
+(C) 2017-2022 Niall Douglas <http://www.nedproductions.biz/> (5 commits)
 File Created: Oct 2017
 
 
@@ -72,7 +72,7 @@ namespace detail
       }
       if(this->_state._status.have_error() && o._state._status.have_error())
       {
-        return this->_error == o._error;
+        return this->_state._error == o._state._error;
       }
       return false;
     }
@@ -99,7 +99,7 @@ namespace detail
     {
       if(this->_state._status.have_error())
       {
-        return this->_error == o.error();
+        return this->_state._error == o.error();
       }
       return false;
     }
@@ -115,7 +115,7 @@ namespace detail
       }
       if(this->_state._status.have_error() && o._state._status.have_error())
       {
-        return this->_error != o._error;
+        return this->_state._error != o._state._error;
       }
       return true;
     }
@@ -142,7 +142,7 @@ namespace detail
     {
       if(this->_state._status.have_error())
       {
-        return this->_error != o.error();
+        return this->_state._error != o.error();
       }
       return true;
     }