summaryrefslogtreecommitdiff
path: root/boost/intrusive/treap_algorithms.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/intrusive/treap_algorithms.hpp')
-rw-r--r--boost/intrusive/treap_algorithms.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/boost/intrusive/treap_algorithms.hpp b/boost/intrusive/treap_algorithms.hpp
index 787c3d0bac..006a880d15 100644
--- a/boost/intrusive/treap_algorithms.hpp
+++ b/boost/intrusive/treap_algorithms.hpp
@@ -13,10 +13,6 @@
#ifndef BOOST_INTRUSIVE_TREAP_ALGORITHMS_HPP
#define BOOST_INTRUSIVE_TREAP_ALGORITHMS_HPP
-#if defined(_MSC_VER)
-# pragma once
-#endif
-
#include <boost/intrusive/detail/config_begin.hpp>
#include <boost/intrusive/intrusive_fwd.hpp>
@@ -25,8 +21,10 @@
#include <boost/intrusive/detail/assert.hpp>
#include <boost/intrusive/detail/algo_type.hpp>
#include <boost/intrusive/bstree_algorithms.hpp>
-#include <algorithm>
+#if defined(BOOST_HAS_PRAGMA_ONCE)
+# pragma once
+#endif
namespace boost {
namespace intrusive {