Use BOOST_HAS_PRAGMA_ONCE.

Remembering to first include config, so that it'll actually be defined.

[SVN r86726]
This commit is contained in:
Daniel James committed 2013-11-16 20:13:24 +00:00
1 parent 007ddb9a5a
commit ddab816ed7
14 files changed
+46 -27

No files matched your search

+5
View File
@@ -7,6 +7,11 @@
#ifndef BOOST_UNORDERED_DETAIL_ALL_HPP_INCLUDED
#define BOOST_UNORDERED_DETAIL_ALL_HPP_INCLUDED
#include <boost/config.hpp>
#if defined(BOOST_HAS_PRAGMA_ONCE)
#pragma once
#endif
#include <boost/unordered/detail/buckets.hpp>
#include <boost/unordered/detail/util.hpp>
#include <boost/type_traits/aligned_storage.hpp>