Removed useless 'virtual' inheritance (fixed issue #84).
This commit is contained in:
parent
30ea54f269
commit
4aefcca374
@ -35,7 +35,7 @@ contentDispositionField::contentDispositionField()
|
||||
|
||||
|
||||
contentDispositionField::contentDispositionField(contentDispositionField&)
|
||||
: headerField(), parameterizedHeaderField()
|
||||
: parameterizedHeaderField()
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ contentTypeField::contentTypeField()
|
||||
|
||||
|
||||
contentTypeField::contentTypeField(contentTypeField&)
|
||||
: headerField(), parameterizedHeaderField()
|
||||
: parameterizedHeaderField()
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ namespace vmime
|
||||
* Parameters can be created using vmime::parameterFactory.
|
||||
*/
|
||||
|
||||
class VMIME_EXPORT parameterizedHeaderField : virtual public headerField
|
||||
class VMIME_EXPORT parameterizedHeaderField : public headerField
|
||||
{
|
||||
friend class headerFieldFactory;
|
||||
|
||||
|
@ -48,8 +48,8 @@ VMIME_TEST_SUITE_BEGIN(parameterTest)
|
||||
public:
|
||||
|
||||
parameterizedHeaderField()
|
||||
: headerField("F")
|
||||
{
|
||||
setName("F");
|
||||
setValue(vmime::headerFieldFactory::getInstance()->createValue(getName()));
|
||||
setValue(vmime::word("X"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user