summaryrefslogtreecommitdiff
path: root/src/broker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/broker.cc')
-rw-r--r--src/broker.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/broker.cc b/src/broker.cc
index 507c8c4..0a063f5 100644
--- a/src/broker.cc
+++ b/src/broker.cc
@@ -18,20 +18,20 @@
using namespace Binc;
using std::string;
-BrokerFactory::BrokerFactory(void)
+BrokerFactory::BrokerFactory()
{
brokers[Session::NONAUTHENTICATED] = new Broker();
brokers[Session::AUTHENTICATED] = new Broker();
brokers[Session::SELECTED] = new Broker();
}
-BrokerFactory::~BrokerFactory(void)
+BrokerFactory::~BrokerFactory()
{
for (auto &[_, second] : brokers)
delete second;
}
-BrokerFactory &BrokerFactory::getInstance(void)
+BrokerFactory &BrokerFactory::getInstance()
{
static BrokerFactory brokerfactory;
return brokerfactory;
@@ -77,9 +77,9 @@ Broker *BrokerFactory::getBroker(int state)
return brokers[state];
}
-Broker::Broker(void) {}
+Broker::Broker() {}
-Broker::~Broker(void) {}
+Broker::~Broker() {}
void Broker::assign(const string &fname, Operator *o, bool deletable)
{