Libraries: Move #pragma once above include headers
The #pragma once was placed after the #include directives instead of immediately after the copyright comment, inconsistent with every other header file
This commit is contained in:
parent
94bc00248f
commit
6d77c9edd1
6 changed files with 12 additions and 12 deletions
|
|
@ -4,12 +4,12 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/HashTable.h>
|
||||
#include <LibGC/Cell.h>
|
||||
#include <LibGC/CellAllocator.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace GC {
|
||||
|
||||
template<typename T>
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/QuickSort.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibGfx/FourCC.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Gfx {
|
||||
|
||||
struct FontVariationAxis {
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/Span.h>
|
||||
|
|
@ -11,8 +13,6 @@
|
|||
#include <AK/Vector.h>
|
||||
#include <LibCore/SharedCircularQueue.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
// These concepts are used to help the compiler distinguish between specializations that would be
|
||||
// ambiguous otherwise. For example, if the specializations for int and Vector<T> were declared as
|
||||
// follows:
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibGC/CellAllocator.h>
|
||||
#include <LibGfx/FontCascadeList.h>
|
||||
#include <LibWeb/CSS/Fetch.h>
|
||||
|
|
@ -18,8 +20,6 @@
|
|||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/PixelUnits.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Web::CSS {
|
||||
|
||||
struct FontFaceKey;
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/FlyString.h>
|
||||
#include <AK/HashMap.h>
|
||||
#include <LibGfx/ShapeFeature.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Web::CSS {
|
||||
|
||||
enum class FontFeatureValueType : u8 {
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibGfx/Forward.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/PixelUnits.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Web::Painting {
|
||||
|
||||
class SVGMaskable {
|
||||
|
|
|
|||
Loading…
Reference in a new issue