BOOST_NO_TYPEID support (#1108).

[SVN r38976]
This commit is contained in:
Peter Dimov committed 2007-08-26 20:34:40 +00:00
1 parent bca336bf35
commit e0ca42bb88
14 files changed
+111 -30

No files matched your search

+1 -2
View File
@@ -32,7 +32,6 @@
#include <memory> // std::auto_ptr
#include <functional> // std::less
#include <new> // std::bad_alloc
#include <typeinfo> // std::type_info in get_deleter
namespace boost
{
@@ -259,7 +258,7 @@ public:
return std::less<sp_counted_base *>()( a.pi_, b.pi_ );
}
void * get_deleter(std::type_info const & ti) const
void * get_deleter( sp_typeinfo const & ti ) const
{
return pi_? pi_->get_deleter( ti ): 0;
}