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:
paulc 2004-08-20 00:46:33 +00:00
parent 04c636f770
commit dd216a868a
1 changed files with 6 additions and 0 deletions

View File

@ -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;