Uninline constructors to reduce GetInstance() inlined code size.

This commit is contained in:
Peter Johnson
2015-08-19 21:49:18 -07:00
parent c6bed1f464
commit 2d1bc2f4c7
4 changed files with 8 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ class Dispatcher : public DispatcherBase {
void StartClient(const char* server_name, unsigned int port);
private:
Dispatcher() : Dispatcher(Storage::GetInstance(), Notifier::GetInstance()) {}
Dispatcher();
Dispatcher(Storage& storage, Notifier& notifier)
: DispatcherBase(storage, notifier) {}