Fixed casting bug.
git-svn-id: http://voip.null.ro/svn/yate@882 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
e482774664
commit
218248155a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue