]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/thread/test/sync/futures/shared_future/wait_for_pass.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / thread / test / sync / futures / shared_future / wait_for_pass.cpp
index e9d8ac684540c9e096365b450f940f5fc10948a2..f231fbe86359ffc0fb7411e312cc8fb711cb894e 100644 (file)
@@ -48,22 +48,6 @@ namespace boost
     os << underlying_cast<int>(st) << " ";
     return os;
   }
-  template <typename T>
-  struct wrap
-  {
-    wrap(T const& v) :
-      value(v)
-    {
-    }
-    T value;
-
-  };
-
-  template <typename T>
-  exception_ptr make_exception_ptr(T v)
-  {
-    return copy_exception(wrap<T> (v));
-  }
 }
 
 void func1(boost::promise<int> p)