forked from boostorg/functional
Use BOOST_HAS_PRAGMA_ONCE.
Remembering to first include config, so that it'll actually be defined. [SVN r86726]
This commit is contained in:
1 parent
9cd62829ee
commit
fb01de460f
6 files changed
+23
-17
No files matched your search
@@ -13,6 +13,11 @@
|
||||
#if !defined(BOOST_FUNCTIONAL_HASH_EXTENSIONS_HPP)
|
||||
#define BOOST_FUNCTIONAL_HASH_EXTENSIONS_HPP
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#if defined(BOOST_HAS_PRAGMA_ONCE)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <boost/functional/hash/hash.hpp>
|
||||
#include <boost/detail/container_fwd.hpp>
|
||||
#include <boost/utility/enable_if.hpp>
|
||||
@@ -32,10 +37,6 @@
|
||||
# include <memory>
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma once
|
||||
#endif
|
||||
|
||||
#if defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING)
|
||||
#include <boost/type_traits/is_array.hpp>
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user