Fixed a copy/assignment issue.

[SVN r18122]
This commit is contained in:
Peter Dimov committed 2003-03-28 12:27:55 +00:00
1 parent deab8ca1bb
commit e760759414
2 files changed
+62 -3

No files matched your search

+19
View File
@@ -24,6 +24,25 @@ namespace boost
template<class T> class enable_shared_from_this
{
protected:
enable_shared_from_this()
{
}
enable_shared_from_this(enable_shared_from_this const &)
{
}
enable_shared_from_this & operator=(enable_shared_from_this const &)
{
return *this;
}
~enable_shared_from_this()
{
}
public:
shared_ptr<T> shared_from_this()