Fixed a weird assignment operator bug in NamedString.
git-svn-id: http://voip.null.ro/svn/yate@24 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
04c636f770
commit
dd216a868a
|
@ -917,6 +917,12 @@ public:
|
|||
inline const String& name() const
|
||||
{ return m_name; }
|
||||
|
||||
/**
|
||||
* Value assignment operator
|
||||
*/
|
||||
inline NamedString& operator=(const char *value)
|
||||
{ String::operator=(value); return *this; }
|
||||
|
||||
private:
|
||||
NamedString(); // no default constructor please
|
||||
String m_name;
|
||||
|
|
Loading…
Reference in New Issue