Skip to content

Commit

Permalink
Removed useless 'virtual' inheritance (fixed issue #84).
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-richard committed Jun 6, 2014
1 parent 30ea54f commit 4aefcca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/vmime/contentDispositionField.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ contentDispositionField::contentDispositionField()


contentDispositionField::contentDispositionField(contentDispositionField&)
: headerField(), parameterizedHeaderField()
: parameterizedHeaderField()
{
}

Expand Down
2 changes: 1 addition & 1 deletion src/vmime/contentTypeField.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ contentTypeField::contentTypeField()


contentTypeField::contentTypeField(contentTypeField&)
: headerField(), parameterizedHeaderField()
: parameterizedHeaderField()
{
}

Expand Down
2 changes: 1 addition & 1 deletion src/vmime/parameterizedHeaderField.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion tests/parser/parameterTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}
Expand Down

0 comments on commit 4aefcca

Please sign in to comment.