detail::counted_base renamed to sp_counted_base.

[SVN r16900]
This commit is contained in:
Peter Dimov
2003-01-14 15:13:53 +00:00
parent c5bae28eeb
commit 6bd66fe054
2 changed files with 31 additions and 31 deletions

View File

@@ -138,7 +138,7 @@ namespace
struct count_layout
{
boost::detail::counted_base * pi;
boost::detail::sp_counted_base * pi;
int id;
};
@@ -194,7 +194,7 @@ static void find_unreachable_objects(map_type const & m, map2_type & m2)
{
for(map_type::const_iterator i = m.begin(); i != m.end(); ++i)
{
boost::detail::counted_base const * p = static_cast<boost::detail::counted_base const *>(i->first);
boost::detail::sp_counted_base const * p = static_cast<boost::detail::sp_counted_base const *>(i->first);
BOOST_ASSERT(p->use_count() != 0); // there should be no inactive counts in the map
@@ -209,7 +209,7 @@ static void find_unreachable_objects(map_type const & m, map2_type & m2)
for(map2_type::iterator i = m2.begin(); i != m2.end(); ++i)
{
boost::detail::counted_base const * p = static_cast<boost::detail::counted_base const *>(i->first);
boost::detail::sp_counted_base const * p = static_cast<boost::detail::sp_counted_base const *>(i->first);
if(p->use_count() != i->second) open.push_back(p);
}