Rename a private struct ServiceBase::ClientInfo to __ClientInfo 46/130246/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 19 May 2017 13:53:35 +0000 (22:53 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 19 May 2017 13:53:35 +0000 (22:53 +0900)
Change-Id: If49557efacb439d5d33f284ec19a754a1c010d68
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
include/ServiceBase.h
src/server/ServiceBase.cpp

index b9532ff..2767aa1 100644 (file)
@@ -109,12 +109,12 @@ namespace ctx {
                GDBusNodeInfo* __nodeInfo;
                guint __registrationId;
 
-               struct ClientInfo {
+               struct __ClientInfo {
                        ClientBase* client;
                        unsigned int watchId;
                };
 
-               std::map<std::string, ClientInfo> __clients;
+               std::map<std::string, __ClientInfo> __clients;
        };
 
 }
index 2a8585d..62926e9 100644 (file)
@@ -283,7 +283,7 @@ ClientBase* ServiceBase::__getClient(const std::string& busName)
                return NULL;
        }
 
-       ClientInfo info = {client, __watch(busName, client)};
+       __ClientInfo info = {client, __watch(busName, client)};
        __clients[busName] = info;
 
        return client;
@@ -304,7 +304,7 @@ void ServiceBase::__removeClient(const std::string& busName)
        auto iter = __clients.find(busName);
        IF_FAIL_VOID(iter != __clients.end());
 
-       ClientInfo info = iter->second;
+       __ClientInfo info = iter->second;
        __clients.erase(iter);
 
        __unwatch(info.watchId);