]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/interprocess/sync/posix/condition.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / interprocess / sync / posix / condition.hpp
index 5372d9689173ac513bed9f7103e74993bbe0b142..4773acf7c524565f50b059b73ce0bcfd2f07f724 100644 (file)
@@ -90,7 +90,7 @@ class posix_condition
       if (!lock)
          throw lock_exception();
       //Posix does not support infinity absolute time so handle it here
-      if(abs_time == boost::posix_time::pos_infin){
+      if(abs_time.is_pos_infinity()){
          this->wait(lock);
          return true;
       }
@@ -106,7 +106,7 @@ class posix_condition
       if (!lock)
          throw lock_exception();
       //Posix does not support infinity absolute time so handle it here
-      if(abs_time == boost::posix_time::pos_infin){
+      if(abs_time.is_pos_infinity()){
          this->wait(lock, pred);
          return true;
       }