From 000e5f8983984d65cc7599908541801ec2babed2 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Fri, 3 Aug 2018 09:25:19 +0900 Subject: Fix mistake Currently, the code is not usable currently. Change-Id: I2de1c0f04df411f085faacc1ab71203ba9b5e0b1 Signed-off-by: Kazumasa Mitsunari --- src/wm_client.cpp | 2 +- src/wm_client.hpp | 2 +- 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 -- cgit 1.2.3-korg