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

@@ -99,7 +99,7 @@ class Storage {
bool GetRpcResult(bool blocking, unsigned int call_uid, std::string* result);
private:
Storage() : Storage(Notifier::GetInstance(), RpcServer::GetInstance()) {}
Storage();
Storage(Notifier& notifier, RpcServer& rpcserver);
Storage(const Storage&) = delete;
Storage& operator=(const Storage&) = delete;