Removed useless 'virtual' inheritance (fixed issue #84).

This commit is contained in:
Vincent Richard 2014-06-06 19:26:01 +02:00
parent 30ea54f269
commit 4aefcca374
4 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ contentDispositionField::contentDispositionField()
contentDispositionField::contentDispositionField(contentDispositionField&)
: headerField(), parameterizedHeaderField()
: parameterizedHeaderField()
{
}

View File

@ -35,7 +35,7 @@ contentTypeField::contentTypeField()
contentTypeField::contentTypeField(contentTypeField&)
: headerField(), parameterizedHeaderField()
: parameterizedHeaderField()
{
}

View File

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

View File

@ -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"));
}