From f247a41396489a5ec306c04f31034484d35508de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 17 Apr 2014 08:04:53 +0200 Subject: [PATCH] [glutils] Forward declare void KWin::cleanupGL() in kwinglplatform.h Fixes build with clang. --- libkwineffects/kwinglplatform.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libkwineffects/kwinglplatform.h b/libkwineffects/kwinglplatform.h index 1001745dad..00ba6523c3 100644 --- a/libkwineffects/kwinglplatform.h +++ b/libkwineffects/kwinglplatform.h @@ -29,6 +29,8 @@ along with this program. If not, see . namespace KWin { +// forward declare method +void cleanupGL(); inline qint64 kVersionNumber(qint64 major, qint64 minor, qint64 patch = 0) {