diff DEPENDENCIES/generic/include/boost/log/sinks/block_on_overflow.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/log/sinks/block_on_overflow.hpp	Fri Sep 04 12:01:02 2015 +0100
+++ b/DEPENDENCIES/generic/include/boost/log/sinks/block_on_overflow.hpp	Mon Sep 07 11:12:49 2015 +0100
@@ -1,5 +1,5 @@
 /*
- *          Copyright Andrey Semashev 2007 - 2013.
+ *          Copyright Andrey Semashev 2007 - 2015.
  * Distributed under the Boost Software License, Version 1.0.
  *    (See accompanying file LICENSE_1_0.txt or copy at
  *          http://www.boost.org/LICENSE_1_0.txt)
@@ -74,16 +74,11 @@
     //! Blocked threads
     thread_contexts m_thread_contexts;
 
-private:
-    //  Copying prohibited
-    block_on_overflow(block_on_overflow const&);
-    block_on_overflow& operator= (block_on_overflow const&);
-
 public:
     /*!
      * Default constructor.
      */
-    block_on_overflow() {}
+    BOOST_DEFAULTED_FUNCTION(block_on_overflow(), {})
 
     /*!
      * This method is called by the queue when overflow is detected.
@@ -134,6 +129,10 @@
             m_thread_contexts.pop_front();
         }
     }
+
+    //  Copying prohibited
+    BOOST_DELETED_FUNCTION(block_on_overflow(block_on_overflow const&))
+    BOOST_DELETED_FUNCTION(block_on_overflow& operator= (block_on_overflow const&))
 #endif // BOOST_LOG_DOXYGEN_PASS
 };