Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86525 - trunk/boost/heap
From: tim_at_[hidden]
Date: 2013-10-30 14:21:58


Author: timblechmann
Date: 2013-10-30 14:21:57 EDT (Wed, 30 Oct 2013)
New Revision: 86525
URL: http://svn.boost.org/trac/boost/changeset/86525

Log:
heap: use pragma once if available

Text files modified:
   trunk/boost/heap/binomial_heap.hpp | 4 ++++
   trunk/boost/heap/d_ary_heap.hpp | 5 +++++
   trunk/boost/heap/fibonacci_heap.hpp | 5 +++++
   trunk/boost/heap/heap_merge.hpp | 5 +++++
   trunk/boost/heap/pairing_heap.hpp | 5 +++++
   trunk/boost/heap/policies.hpp | 3 +++
   trunk/boost/heap/priority_queue.hpp | 5 +++++
   trunk/boost/heap/skew_heap.hpp | 3 +++
   8 files changed, 35 insertions(+), 0 deletions(-)

Modified: trunk/boost/heap/binomial_heap.hpp
==============================================================================
--- trunk/boost/heap/binomial_heap.hpp Wed Oct 30 08:51:24 2013 (r86524)
+++ trunk/boost/heap/binomial_heap.hpp 2013-10-30 14:21:57 EDT (Wed, 30 Oct 2013) (r86525)
@@ -20,6 +20,10 @@
 #include <boost/heap/detail/stable_heap.hpp>
 #include <boost/heap/detail/tree_iterator.hpp>
 
+#ifdef BOOST_HAS_PRAGMA_ONCE
+#pragma once
+#endif
+
 #ifndef BOOST_DOXYGEN_INVOKED
 #ifdef BOOST_HEAP_SANITYCHECKS
 #define BOOST_HEAP_ASSERT BOOST_ASSERT

Modified: trunk/boost/heap/d_ary_heap.hpp
==============================================================================
--- trunk/boost/heap/d_ary_heap.hpp Wed Oct 30 08:51:24 2013 (r86524)
+++ trunk/boost/heap/d_ary_heap.hpp 2013-10-30 14:21:57 EDT (Wed, 30 Oct 2013) (r86525)
@@ -21,6 +21,11 @@
 #include <boost/heap/detail/stable_heap.hpp>
 #include <boost/heap/detail/mutable_heap.hpp>
 
+#ifdef BOOST_HAS_PRAGMA_ONCE
+#pragma once
+#endif
+
+
 #ifndef BOOST_DOXYGEN_INVOKED
 #ifdef BOOST_HEAP_SANITYCHECKS
 #define BOOST_HEAP_ASSERT BOOST_ASSERT

Modified: trunk/boost/heap/fibonacci_heap.hpp
==============================================================================
--- trunk/boost/heap/fibonacci_heap.hpp Wed Oct 30 08:51:24 2013 (r86524)
+++ trunk/boost/heap/fibonacci_heap.hpp 2013-10-30 14:21:57 EDT (Wed, 30 Oct 2013) (r86525)
@@ -21,6 +21,11 @@
 #include <boost/heap/detail/stable_heap.hpp>
 #include <boost/heap/detail/tree_iterator.hpp>
 
+#ifdef BOOST_HAS_PRAGMA_ONCE
+#pragma once
+#endif
+
+
 #ifndef BOOST_DOXYGEN_INVOKED
 #ifdef BOOST_HEAP_SANITYCHECKS
 #define BOOST_HEAP_ASSERT BOOST_ASSERT

Modified: trunk/boost/heap/heap_merge.hpp
==============================================================================
--- trunk/boost/heap/heap_merge.hpp Wed Oct 30 08:51:24 2013 (r86524)
+++ trunk/boost/heap/heap_merge.hpp 2013-10-30 14:21:57 EDT (Wed, 30 Oct 2013) (r86525)
@@ -13,6 +13,11 @@
 #include <boost/heap/heap_concepts.hpp>
 #include <boost/type_traits/is_same.hpp>
 
+#ifdef BOOST_HAS_PRAGMA_ONCE
+#pragma once
+#endif
+
+
 namespace boost {
 namespace heap {
 namespace detail {

Modified: trunk/boost/heap/pairing_heap.hpp
==============================================================================
--- trunk/boost/heap/pairing_heap.hpp Wed Oct 30 08:51:24 2013 (r86524)
+++ trunk/boost/heap/pairing_heap.hpp 2013-10-30 14:21:57 EDT (Wed, 30 Oct 2013) (r86525)
@@ -21,6 +21,11 @@
 #include <boost/heap/detail/stable_heap.hpp>
 #include <boost/heap/detail/tree_iterator.hpp>
 
+#ifdef BOOST_HAS_PRAGMA_ONCE
+#pragma once
+#endif
+
+
 #ifndef BOOST_DOXYGEN_INVOKED
 #ifdef BOOST_HEAP_SANITYCHECKS
 #define BOOST_HEAP_ASSERT BOOST_ASSERT

Modified: trunk/boost/heap/policies.hpp
==============================================================================
--- trunk/boost/heap/policies.hpp Wed Oct 30 08:51:24 2013 (r86524)
+++ trunk/boost/heap/policies.hpp 2013-10-30 14:21:57 EDT (Wed, 30 Oct 2013) (r86525)
@@ -15,6 +15,9 @@
 #include <boost/mpl/void.hpp>
 #include <boost/concept_check.hpp>
 
+#ifdef BOOST_HAS_PRAGMA_ONCE
+#pragma once
+#endif
 
 namespace boost {
 namespace heap {

Modified: trunk/boost/heap/priority_queue.hpp
==============================================================================
--- trunk/boost/heap/priority_queue.hpp Wed Oct 30 08:51:24 2013 (r86524)
+++ trunk/boost/heap/priority_queue.hpp 2013-10-30 14:21:57 EDT (Wed, 30 Oct 2013) (r86525)
@@ -19,6 +19,11 @@
 #include <boost/heap/detail/heap_comparison.hpp>
 #include <boost/heap/detail/stable_heap.hpp>
 
+#ifdef BOOST_HAS_PRAGMA_ONCE
+#pragma once
+#endif
+
+
 namespace boost {
 namespace heap {
 namespace detail {

Modified: trunk/boost/heap/skew_heap.hpp
==============================================================================
--- trunk/boost/heap/skew_heap.hpp Wed Oct 30 08:51:24 2013 (r86524)
+++ trunk/boost/heap/skew_heap.hpp 2013-10-30 14:21:57 EDT (Wed, 30 Oct 2013) (r86525)
@@ -21,6 +21,9 @@
 #include <boost/heap/detail/stable_heap.hpp>
 #include <boost/heap/detail/tree_iterator.hpp>
 
+#ifdef BOOST_HAS_PRAGMA_ONCE
+#pragma once
+#endif
 
 #ifndef BOOST_DOXYGEN_INVOKED
 #ifdef BOOST_HEAP_SANITYCHECKS


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