Only block the assignment operators of MimeHeaderLine and MimeAuthLine as they already had copy constructors with a default 2nd parameter.
git-svn-id: http://voip.null.ro/svn/yate@3376 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
e5e9753e15
commit
b73742b1e9
|
@ -43,7 +43,6 @@ namespace TelEngine {
|
|||
*/
|
||||
class YATE_API MimeHeaderLine : public NamedString
|
||||
{
|
||||
YNOCOPY(MimeHeaderLine); // no automatic copies please
|
||||
public:
|
||||
/**
|
||||
* Constructor.
|
||||
|
@ -179,6 +178,8 @@ public:
|
|||
protected:
|
||||
ObjList m_params; // Header list of parameters
|
||||
char m_separator; // Parameter separator
|
||||
private:
|
||||
void operator=(const MimeHeaderLine&); // no assignment
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -187,7 +188,6 @@ protected:
|
|||
*/
|
||||
class YATE_API MimeAuthLine : public MimeHeaderLine
|
||||
{
|
||||
YNOCOPY(MimeAuthLine); // no automatic copies please
|
||||
public:
|
||||
/**
|
||||
* Constructor.
|
||||
|
@ -225,6 +225,8 @@ public:
|
|||
* @param line Destination string
|
||||
*/
|
||||
virtual void buildLine(String& line) const;
|
||||
private:
|
||||
void operator=(const MimeAuthLine&); // no assignment
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue