Merge pull request #430 from slr/master

fix boost-1.67 build
This commit is contained in:
miguelfreitas 2018-10-19 13:38:37 -03:00 committed by GitHub
commit 9f90152651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 3 deletions

View File

@ -40,8 +40,14 @@ POSSIBILITY OF SUCH DAMAGE.
#pragma warning(push, 1)
#endif
#include <boost/limits.hpp>
#include <boost/version.hpp>
#if BOOST_VERSION >= 106700
#include <boost/next_prior.hpp>
#else
#include <boost/utility.hpp>
#endif
#include <boost/limits.hpp>
#include <boost/tuple/tuple.hpp>
#ifdef _MSC_VER
@ -312,4 +318,3 @@ private:
}
#endif

View File

@ -36,7 +36,13 @@ POSSIBILITY OF SUCH DAMAGE.
#include <vector>
#include <boost/cstdint.hpp>
#include <boost/version.hpp>
#if BOOST_VERSION >= 106700
#include <boost/next_prior.hpp>
#else
#include <boost/utility.hpp>
#endif
#include <boost/tuple/tuple.hpp>
#include <boost/array.hpp>
#include <set>
@ -220,4 +226,3 @@ private:
} } // namespace libtorrent::dht
#endif // ROUTING_TABLE_HPP