Replace include guards with pragma once

This commit is contained in:
Jaby
2023-10-05 21:40:04 +02:00
parent 19f8303d99
commit db1bbec06e
42 changed files with 83 additions and 193 deletions

View File

@@ -1,5 +1,4 @@
#ifndef __JABYENGINE_LINKED_ELEMENTS_HPP__
#define __JABYENGINE_LINKED_ELEMENTS_HPP__
#pragma once
#include "../../Auxiliary/bits.hpp"
namespace JabyEngine {
@@ -89,6 +88,4 @@ namespace JabyEngine {
};
}
}
}
#endif // !__JABYENGINE_LINKED_ELEMENTS_HPP__
}

View File

@@ -1,5 +1,4 @@
#ifndef __JABYENGINE_PRIMITIVE_GPU_COMMANDS_HPP__
#define __JABYENGINE_PRIMITIVE_GPU_COMMANDS_HPP__
#pragma once
#include "../../System/IOPorts/gpu_io.hpp"
#include "linked_elements.hpp"
#include "primitive_support_types.hpp"
@@ -16,6 +15,4 @@ namespace JabyEngine {
}
};
}
}
#endif // !__JABYENGINE_PRIMITIVE_GPU_COMMANDS_HPP__
}

View File

@@ -1,5 +1,4 @@
#ifndef __JABYENGINE_PRIMITIVE_LINE_TYPES_HPP__
#define __JABYENGINE_PRIMITIVE_LINE_TYPES_HPP__
#pragma once
#include "linked_elements.hpp"
#include "primitive_support_types.hpp"
@@ -107,6 +106,4 @@ namespace JabyEngine {
}
};
}
}
#endif //!__JABYENGINE_PRIMITIVE_LINE_TYPES_HPP__
}

View File

@@ -1,5 +1,4 @@
#ifndef __JABYENGINE_PRIMITIVE_POLY_TYPES_HPP__
#define __JABYENGINE_PRIMITIVE_POLY_TYPES_HPP__
#pragma once
#include "linked_elements.hpp"
#include "primitive_support_types.hpp"
@@ -366,5 +365,4 @@ namespace JabyEngine {
static_assert(sizeof(POLY_G4) == 32);
static_assert(sizeof(POLY_GT4) == 48);
}
}
#endif // !__JABYENGINE_PRIMITIVE_POLY_TYPES_HPP__
}

View File

@@ -1,5 +1,4 @@
#ifndef __JABYENGINE_PRIMITIVE_RECTANGLE_TYPES_HPP__
#define __JABYENGINE_PRIMITIVE_RECTANGLE_TYPES_HPP__
#pragma once
#include "linked_elements.hpp"
#include "primitive_support_types.hpp"
@@ -126,6 +125,4 @@ namespace JabyEngine {
}
};
}
}
#endif //!__JABYENGINE_PRIMITIVE_RECTANGLE_TYPES_HPP__
}

View File

@@ -1,10 +1,8 @@
#ifndef __JABYENGINE_PRIMITIVE_SUPPORT_TYPES_HPP__
#define __JABYENGINE_PRIMITIVE_SUPPORT_TYPES_HPP__
#pragma once
#include "../../Auxiliary/type_traits.hpp"
#include "../../System/IOPorts/gpu_io.hpp"
#include "../gpu_types.hpp"
namespace JabyEngine {
namespace GPU {
namespace internal {
@@ -89,6 +87,4 @@ namespace JabyEngine {
}
};
}
}
#endif //!__JABYENGINE_PRIMITIVE_SUPPORT_TYPES_HPP__
}