Fixed casting bug.

git-svn-id: http://voip.null.ro/svn/yate@882 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2006-06-19 15:59:30 +00:00
parent e482774664
commit 218248155a
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,7 @@ public:
* Assignment from smart pointer
*/
inline RefPointer<Obj>& operator=(const RefPointer<Obj>& value)
{ assign(const_cast<const Obj*>(value)); return *this; }
{ assign(value.pointer()); return *this; }
/**
* Assignment from regular pointer