From 85d87297b04d756138b506ef18aa883b096af102 Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Thu, 19 Mar 2015 23:22:46 -0400 Subject: [PATCH] Return false for a bool instead of nullptr. Fixes compiler warning (error by default in gcc 5). REVIEW:123077 --- autotests/mock_effectshandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/mock_effectshandler.h b/autotests/mock_effectshandler.h index 1c844b6e3a..beed94a1d8 100644 --- a/autotests/mock_effectshandler.h +++ b/autotests/mock_effectshandler.h @@ -131,7 +131,7 @@ public: return nullptr; } bool grabKeyboard(KWin::Effect *) override { - return nullptr; + return false; } bool hasDecorationShadows() const override { return false;