]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/interprocess/sync/posix/recursive_mutex.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / interprocess / sync / posix / recursive_mutex.hpp
index 9ef4f1278870cdfd56b73757a5cfae218aeda503..b078a46619c026e9c853dd9a8f278c3edb6d2d49 100644 (file)
@@ -103,7 +103,7 @@ inline bool posix_recursive_mutex::timed_lock(const boost::posix_time::ptime &ab
 {
    #ifdef BOOST_INTERPROCESS_POSIX_TIMEOUTS
    //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->lock();
       return true;
    }