Delete unused includes

We don't use assert().
This commit is contained in:
Vlad Zagorodniy 2019-09-06 16:07:55 +03:00
parent df3c1de848
commit 630006e6f7
14 changed files with 0 additions and 23 deletions

View file

@ -60,8 +60,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "decorations/decorationbridge.h"
#include <KDecoration2/DecorationSettings>
#include <cassert>
namespace KWin
{
//---------------------

View file

@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// KConfigSkeleton
#include "fallapartconfig.h"
#include <cassert>
#include <cmath>
namespace KWin

View file

@ -42,7 +42,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QVector2D>
#include <QVector4D>
#include <cassert>
#include <climits>
#include <cmath>

View file

@ -37,9 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <KWindowSystem>
#include <QDebug>
#include <cassert>
/*
TODO
Rename as many uses of 'transient' as possible (hasTransient->hasSubwindow,etc.),

View file

@ -24,8 +24,6 @@
#include "ruleswidget.h"
#include <cassert>
namespace KWin
{

View file

@ -39,8 +39,6 @@
#include "detectwidget.h"
#include <cassert>
Q_DECLARE_METATYPE(NET::WindowType)
namespace KWin

View file

@ -98,8 +98,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QDebug>
#include <cassert>
namespace KWin
{

View file

@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <ksharedconfig.h>
#include <kconfiggroup.h>
#include <cassert>
#include <KWayland/Server/surface_interface.h>
#ifdef KWIN_HAVE_XRENDER_COMPOSITING

View file

@ -49,7 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <netwm.h>
#include <cassert>
#include <climits>
#include <functional>

View file

@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QRect>
#include <QTextStream>
#include <cassert>
namespace KWin
{

View file

@ -51,7 +51,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#if HAVE_DL_LIBRARY
#include <dlfcn.h>
#endif
#include <cassert>
#ifndef XCB_GLX_BUFFER_SWAP_COMPLETE
#define XCB_GLX_BUFFER_SWAP_COMPLETE 1

View file

@ -28,8 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QVector>
#include <cassert>
#include <xcb/composite.h>
#include <xcb/shape.h>
#if XCB_COMPOSITE_MAJOR_VERSION > 0 || XCB_COMPOSITE_MINOR_VERSION >= 3

View file

@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <X11/Xlib.h>
#include <fixx11h.h>
// c++
#include <cassert>
#include <functional>
class QOpenGLFramebufferObject;

View file

@ -40,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "platform.h"
#include "workspace.h"
#include <cassert>
#include <csignal>
#include <cstdio>