diff options
Diffstat (limited to 'src/mime.cc')
-rw-r--r-- | src/mime.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mime.cc b/src/mime.cc index 6a4817e..accaee6 100644 --- a/src/mime.cc +++ b/src/mime.cc @@ -22,15 +22,15 @@ using std::string; -Binc::MimeDocument::MimeDocument(void) : MimePart() +Binc::MimeDocument::MimeDocument() : MimePart() { allIsParsed = false; headerIsParsed = false; } -Binc::MimeDocument::~MimeDocument(void) {} +Binc::MimeDocument::~MimeDocument() {} -void Binc::MimeDocument::clear(void) const +void Binc::MimeDocument::clear() const { members.clear(); h.clear(); @@ -38,13 +38,13 @@ void Binc::MimeDocument::clear(void) const allIsParsed = false; } -void Binc::MimePart::clear(void) const +void Binc::MimePart::clear() const { members.clear(); h.clear(); } -Binc::MimePart::MimePart(void) +Binc::MimePart::MimePart() { size = 0; messagerfc822 = false; @@ -54,9 +54,9 @@ Binc::MimePart::MimePart(void) nbodylines = 0; } -Binc::MimePart::~MimePart(void) {} +Binc::MimePart::~MimePart() {} -Binc::HeaderItem::HeaderItem(void) {} +Binc::HeaderItem::HeaderItem() {} Binc::HeaderItem::HeaderItem(const string &key, const string &value) { @@ -64,9 +64,9 @@ Binc::HeaderItem::HeaderItem(const string &key, const string &value) this->value = value; } -Binc::Header::Header(void) {} +Binc::Header::Header() {} -Binc::Header::~Header(void) {} +Binc::Header::~Header() {} bool Binc::Header::getFirstHeader(const string &key, HeaderItem &dest) const { @@ -99,7 +99,7 @@ bool Binc::Header::getAllHeaders(const string &key, std::vector<HeaderItem> &des return (dest.size() != 0); } -void Binc::Header::clear(void) const +void Binc::Header::clear() const { content.clear(); } |