summaryrefslogtreecommitdiff
path: root/src/mailbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailbox.cc')
-rw-r--r--src/mailbox.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mailbox.cc b/src/mailbox.cc
index 23ed2a5..f519dfb 100644
--- a/src/mailbox.cc
+++ b/src/mailbox.cc
@@ -18,13 +18,13 @@ Mailbox::BaseIterator::BaseIterator(int sqn)
sqnr = sqn;
}
-Mailbox::BaseIterator::~BaseIterator(void) {}
+Mailbox::BaseIterator::~BaseIterator() {}
-Mailbox::Mailbox(void) : readOnly(false) {}
+Mailbox::Mailbox() : readOnly(false) {}
-Mailbox::~Mailbox(void) {}
+Mailbox::~Mailbox() {}
-bool Mailbox::isReadOnly(void) const
+bool Mailbox::isReadOnly() const
{
return readOnly;
}
@@ -36,12 +36,12 @@ void Mailbox::setReadOnly(bool readOnly)
Mailbox::iterator::iterator(BaseIterator &i) : realIterator(i) {}
-Message &Mailbox::iterator::operator*(void)
+Message &Mailbox::iterator::operator*()
{
return *realIterator;
}
-void Mailbox::iterator::operator++(void)
+void Mailbox::iterator::operator++()
{
++realIterator;
}
@@ -56,12 +56,12 @@ bool Mailbox::iterator::operator!=(const iterator &i) const
return realIterator != i.realIterator;
}
-void Mailbox::iterator::erase(void)
+void Mailbox::iterator::erase()
{
realIterator.erase();
}
-unsigned int Mailbox::iterator::getSqnr(void) const
+unsigned int Mailbox::iterator::getSqnr() const
{
return realIterator.sqnr;
}
@@ -71,12 +71,12 @@ void Mailbox::setName(const std::string &name)
this->name = name;
}
-const std::string Mailbox::getName(void) const
+const std::string Mailbox::getName() const
{
return name;
}
-const std::string &Mailbox::getLastError(void) const
+const std::string &Mailbox::getLastError() const
{
return lastError;
}