Initialize __storeManager from the constructor of ContextStoreService 36/124236/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 11 Apr 2017 02:03:37 +0000 (11:03 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 11 Apr 2017 02:03:37 +0000 (11:03 +0900)
Change-Id: I4ee56652bcdd491ddf8da82ef082c37d887ff711
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/server-dummy/ContextStoreService.cpp

index d5ef3b2..bbaa957 100644 (file)
@@ -20,7 +20,8 @@
 using namespace ctx;
 
 ContextStoreService::ContextStoreService(GDBusConnection* conn) :
-       ServiceBase(conn, CTX_CONTEXT_STORE, CTX_CONTEXT_STORE_SPEC)
+       ServiceBase(conn, CTX_CONTEXT_STORE, CTX_CONTEXT_STORE_SPEC),
+       __storeManager(NULL)
 {
        throw std::runtime_error("Context Store is not supported");
 }