]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/mpl/example/fsm/state_machine.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / mpl / example / fsm / state_machine.hpp
index 4f4e616a9910980ea0cb2293d8c618e158094503..4bfd0169e54e81810b3e18338a4be2137d0e33c3 100644 (file)
@@ -83,7 +83,17 @@ class state_machine
     {
     }
 
+
+#if defined(BOOST_NO_CXX11_SMART_PTR)
+
     void post_event(std::auto_ptr<base_event_t const> evt)
+    
+#else
+
+    void post_event(std::unique_ptr<base_event_t const> evt)
+    
+#endif
+
     {
         m_events_queue.push(base_event_ptr_t(evt.release()));
     }