From ef1bfd017435837754f5f8b7aa9f62387bfc130f Mon Sep 17 00:00:00 2001 From: Daniel James Date: Wed, 14 Jul 2010 08:28:04 +0000 Subject: [PATCH] Only include static_assert when necessary. [SVN r64009] --- include/boost/functional/hash/hash.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/functional/hash/hash.hpp b/include/boost/functional/hash/hash.hpp index 24a78f3..108d3ed 100644 --- a/include/boost/functional/hash/hash.hpp +++ b/include/boost/functional/hash/hash.hpp @@ -15,7 +15,10 @@ #include #include #include + +#if defined(BOOST_HASH_NO_IMPLICIT_CASTS) #include +#endif #if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) #include