Bug in get_deleter fixed.

[SVN r16477]
This commit is contained in:
Peter Dimov
2002-12-02 14:34:06 +00:00
parent 572a97d3c4
commit c5f7c973d9
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -382,7 +382,7 @@ public:
void * get_deleter(std::type_info const & ti) const
{
return pi_->get_deleter(ti);
return pi_? pi_->get_deleter(ti): 0;
}
};