aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-03 09:25:19 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-03 09:25:19 +0900
commit000e5f8983984d65cc7599908541801ec2babed2 (patch)
tree2b79110517f95beaf1ead55f8a6e07f16d316999
parenta79b572a5f26d6ecdd97dff159c40bad330e1c4c (diff)
Fix mistake
Currently, the code is not usable currently. Change-Id: I2de1c0f04df411f085faacc1ab71203ba9b5e0b1 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r--src/wm_client.cpp2
-rw-r--r--src/wm_client.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wm_client.cpp b/src/wm_client.cpp
index a9ed547..09e2e00 100644
--- a/src/wm_client.cpp
+++ b/src/wm_client.cpp
@@ -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){
diff --git a/src/wm_client.hpp b/src/wm_client.hpp
index 0d6faeb..259d504 100644
--- a/src/wm_client.hpp
+++ b/src/wm_client.hpp
@@ -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