|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86496 - trunk/boost/lockfree
From: tim_at_[hidden]
Date: 2013-10-28 06:06:05
Author: timblechmann
Date: 2013-10-28 06:06:05 EDT (Mon, 28 Oct 2013)
New Revision: 86496
URL: http://svn.boost.org/trac/boost/changeset/86496
Log:
lockfree: make use of pragma once
Text files modified:
trunk/boost/lockfree/queue.hpp | 5 +++++
trunk/boost/lockfree/spsc_queue.hpp | 3 +++
trunk/boost/lockfree/stack.hpp | 4 ++++
3 files changed, 12 insertions(+), 0 deletions(-)
Modified: trunk/boost/lockfree/queue.hpp
==============================================================================
--- trunk/boost/lockfree/queue.hpp Mon Oct 28 06:05:52 2013 (r86495)
+++ trunk/boost/lockfree/queue.hpp 2013-10-28 06:06:05 EDT (Mon, 28 Oct 2013) (r86496)
@@ -22,6 +22,11 @@
#include <boost/lockfree/detail/parameter.hpp>
#include <boost/lockfree/detail/tagged_ptr.hpp>
+#ifdef BOOST_HAS_PRAGMA_ONCE
+#pragma once
+#endif
+
+
#if defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable: 4324) // structure was padded due to __declspec(align())
Modified: trunk/boost/lockfree/spsc_queue.hpp
==============================================================================
--- trunk/boost/lockfree/spsc_queue.hpp Mon Oct 28 06:05:52 2013 (r86495)
+++ trunk/boost/lockfree/spsc_queue.hpp 2013-10-28 06:06:05 EDT (Mon, 28 Oct 2013) (r86496)
@@ -25,6 +25,9 @@
#include <boost/lockfree/detail/parameter.hpp>
#include <boost/lockfree/detail/prefix.hpp>
+#ifdef BOOST_HAS_PRAGMA_ONCE
+#pragma once
+#endif
namespace boost {
namespace lockfree {
Modified: trunk/boost/lockfree/stack.hpp
==============================================================================
--- trunk/boost/lockfree/stack.hpp Mon Oct 28 06:05:52 2013 (r86495)
+++ trunk/boost/lockfree/stack.hpp 2013-10-28 06:06:05 EDT (Mon, 28 Oct 2013) (r86496)
@@ -21,6 +21,10 @@
#include <boost/lockfree/detail/parameter.hpp>
#include <boost/lockfree/detail/tagged_ptr.hpp>
+#ifdef BOOST_HAS_PRAGMA_ONCE
+#pragma once
+#endif
+
namespace boost {
namespace lockfree {
namespace detail {
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk