Fix mistake 71/15971/1
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Fri, 3 Aug 2018 00:25:19 +0000 (09:25 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Fri, 3 Aug 2018 00:25:19 +0000 (09:25 +0900)
Currently, the code is not usable currently.

Change-Id: I2de1c0f04df411f085faacc1ab71203ba9b5e0b1
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/wm_client.cpp
src/wm_client.hpp

index a9ed547..09e2e00 100644 (file)
@@ -174,7 +174,7 @@ bool WMClient::removeRole(const string &role)
     return ret;
 }
 
-#ifndef GTEST_ENABLED
+#if GTEST_ENABLED
 bool WMClient::subscribe(afb_req req, const string &evname)
 {
     if(evname != kKeyError){
index 0d6faeb..259d504 100644 (file)
@@ -53,7 +53,7 @@ class WMClient
     bool removeSurfaceIfExist(unsigned surface);
     bool removeRole(const std::string& role);
 
-#ifndef GTEST_ENABLED
+#if GTEST_ENABLED
     bool subscribe(afb_req req, const std::string &event_name);
     void emitError(WM_CLIENT_ERROR_EVENT ev);
 #endif