]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/log/src/threadsafe_queue.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / log / src / threadsafe_queue.cpp
index bbad463dec291f2c80f603f8ffecb9a3b5431c72..1a1656194aab10080bf436b936f2184c99c3e19c 100644 (file)
@@ -76,11 +76,11 @@ public:
         m_Head.node = m_Tail.node = first_node;
     }
 
-    ~threadsafe_queue_impl_generic()
+    ~threadsafe_queue_impl_generic() BOOST_OVERRIDE
     {
     }
 
-    node_base* reset_last_node()
+    node_base* reset_last_node() BOOST_OVERRIDE
     {
         BOOST_ASSERT(m_Head.node == m_Tail.node);
         node_base* p = m_Head.node;
@@ -88,12 +88,12 @@ public:
         return p;
     }
 
-    bool unsafe_empty()
+    bool unsafe_empty() BOOST_OVERRIDE
     {
         return m_Head.node == m_Tail.node;
     }
 
-    void push(node_base* p)
+    void push(node_base* p) BOOST_OVERRIDE
     {
         set_next(p, NULL);
         exclusive_lock_guard< mutex_type > _(m_Tail.mutex);
@@ -101,7 +101,7 @@ public:
         m_Tail.node = p;
     }
 
-    bool try_pop(node_base*& node_to_free, node_base*& node_with_value)
+    bool try_pop(node_base*& node_to_free, node_base*& node_with_value) BOOST_OVERRIDE
     {
         exclusive_lock_guard< mutex_type > _(m_Head.mutex);
         node_base* next = get_next(m_Head.node);