diff options
Diffstat (limited to 'src/broker.cc')
-rw-r--r-- | src/broker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/broker.cc b/src/broker.cc index 59c23bb..24d5c7b 100644 --- a/src/broker.cc +++ b/src/broker.cc @@ -14,7 +14,7 @@ using std::string; BrokerFactory::BrokerFactory() { - Parser p{Session::getInstance()}; + static Parser p{Session::getInstance()}; brokers.emplace(Session::State::NONAUTHENTICATED, Broker(p)); brokers.emplace(Session::State::AUTHENTICATED, Broker(p)); |