Fixed a copy/assignment issue.

[SVN r18122]
This commit is contained in:
Peter Dimov
2003-03-28 12:27:55 +00:00
parent deab8ca1bb
commit e760759414
2 changed files with 62 additions and 3 deletions
+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()