summaryrefslogtreecommitdiff
path: root/src/operator-search.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/operator-search.cc')
-rw-r--r--src/operator-search.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/operator-search.cc b/src/operator-search.cc
index 30b6ea2..c013e70 100644
--- a/src/operator-search.cc
+++ b/src/operator-search.cc
@@ -85,14 +85,14 @@ bool SearchOperator::SearchNode::convertDateHeader(const string &d_in, time_t &t
return result;
}
-SearchOperator::SearchNode::SearchNode(void) {}
+SearchOperator::SearchNode::SearchNode() {}
SearchOperator::SearchNode::SearchNode(const BincImapParserSearchKey &a)
{
init(a);
}
-int SearchOperator::SearchNode::getType(void) const
+int SearchOperator::SearchNode::getType() const
{
return type;
}
@@ -459,7 +459,7 @@ void SearchOperator::SearchNode::init(const BincImapParserSearchKey &a)
}
}
-int SearchOperator::SearchNode::getWeight(void) const
+int SearchOperator::SearchNode::getWeight() const
{
return weight;
}
@@ -469,23 +469,23 @@ void SearchOperator::SearchNode::setWeight(int i)
weight = i;
}
-void SearchOperator::SearchNode::order(void)
+void SearchOperator::SearchNode::order()
{
for (auto &i : children)
i.order();
stable_sort(children.begin(), children.end(), compareNodes);
}
-SearchOperator::SearchOperator(void) {}
+SearchOperator::SearchOperator() {}
-SearchOperator::~SearchOperator(void) {}
+SearchOperator::~SearchOperator() {}
-const string SearchOperator::getName(void) const
+const string SearchOperator::getName() const
{
return "SEARCH";
}
-int SearchOperator::getState(void) const
+int SearchOperator::getState() const
{
return Session::SELECTED;
}