]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/interprocess/sync/posix/semaphore.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / interprocess / sync / posix / semaphore.hpp
index 6fea766eda005828f8bae5087360ffa39a4d2345..bf64d430da706848d21ea4f13bce7a06ac1674bb 100644 (file)
@@ -22,7 +22,6 @@
 #include <boost/interprocess/detail/config_begin.hpp>
 #include <boost/interprocess/detail/workaround.hpp>
 
-#include <boost/interprocess/detail/posix_time_types_wrk.hpp>
 #include <boost/interprocess/sync/posix/semaphore_wrapper.hpp>
 
 namespace boost {
@@ -51,7 +50,8 @@ class posix_semaphore
    bool try_wait()
    {  return semaphore_try_wait(&m_sem); }
 
-   bool timed_wait(const boost::posix_time::ptime &abs_time)
+   template<class TimePoint>
+   bool timed_wait(const TimePoint &abs_time)
    {  return semaphore_timed_wait(&m_sem, abs_time); }
 
    private: