]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/type_traits/has_virtual_destructor.hpp
update boost to version 1.48
[lyx.git] / boost / boost / type_traits / has_virtual_destructor.hpp
index 4d15704d9d98892f6b065c382ec6f56d64c617a6..b741197d3a8195cc10d09507711a3bc81c102812 100644 (file)
 
 #include <boost/type_traits/intrinsics.hpp>
 // should be the last #include
-#include "boost/type_traits/detail/bool_trait_def.hpp"
+#include <boost/type_traits/detail/bool_trait_def.hpp>
 
 namespace boost {
 
+#ifdef BOOST_HAS_VIRTUAL_DESTRUCTOR
 BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_virtual_destructor,T,BOOST_HAS_VIRTUAL_DESTRUCTOR(T))
+#else
+BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_virtual_destructor,T,false)
+#endif
 
 } // namespace boost
 
-#include "boost/type_traits/detail/bool_trait_undef.hpp"
+#include <boost/type_traits/detail/bool_trait_undef.hpp>
 
 #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED