Commit 64c71a37 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

backends/virtual: Use #pragma once

parent f80a14d4
Pipeline #206463 passed with stage
in 13 minutes and 6 seconds
......@@ -6,8 +6,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_EGL_GBM_BACKEND_H
#define KWIN_EGL_GBM_BACKEND_H
#pragma once
#include "abstract_egl_backend.h"
#include "outputlayer.h"
......@@ -65,6 +65,4 @@ private:
std::map<Output *, std::unique_ptr<VirtualEglLayer>> m_outputs;
};
} // namespace
#endif
} // namespace KWin
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_SCENE_QPAINTER_VIRTUAL_BACKEND_H
#define KWIN_SCENE_QPAINTER_VIRTUAL_BACKEND_H
#pragma once
#include "outputlayer.h"
#include "qpainterbackend.h"
......@@ -55,6 +54,4 @@ private:
int m_frameCounter = 0;
};
}
#endif
} // namespace KWin
\ No newline at end of file
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_VIRTUAL_BACKEND_H
#define KWIN_VIRTUAL_BACKEND_H
#pragma once
#include "platform.h"
......@@ -73,6 +72,4 @@ private:
std::unique_ptr<Session> m_session;
};
}
#endif
} // namespace KWin
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_VIRTUAL_OUTPUT_H
#define KWIN_VIRTUAL_OUTPUT_H
#pragma once
#include "output.h"
......@@ -49,6 +48,4 @@ private:
int m_identifier;
};
}
#endif
} // namespace KWin
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment