summaryrefslogtreecommitdiffstats
path: root/core/resource
diff options
context:
space:
mode:
Diffstat (limited to 'core/resource')
-rw-r--r--core/resource/image.hh4
-rw-r--r--core/resource/resource.hh4
2 files changed, 0 insertions, 8 deletions
diff --git a/core/resource/image.hh b/core/resource/image.hh
index b62fcbb..575591f 100644
--- a/core/resource/image.hh
+++ b/core/resource/image.hh
@@ -1,5 +1,3 @@
-#ifndef CORE_RESOURCE_IMAGE_HH
-#define CORE_RESOURCE_IMAGE_HH 1
#pragma once
constexpr static unsigned int IMAGE_LOAD_GRAY = 0x0001U;
@@ -11,5 +9,3 @@ struct Image final {
stbi_uc* pixels;
glm::ivec2 size;
};
-
-#endif // CORE_RESOURCE_IMAGE_HH
diff --git a/core/resource/resource.hh b/core/resource/resource.hh
index ad8d944..105c7ff 100644
--- a/core/resource/resource.hh
+++ b/core/resource/resource.hh
@@ -1,5 +1,3 @@
-#ifndef CORE_RESOURCE_RESOURCE_HH
-#define CORE_RESOURCE_RESOURCE_HH 1
#pragma once
template<typename T>
@@ -53,5 +51,3 @@ resource_ptr<T> resource::find(std::string_view name)
auto result = resource::detail::find_resource(typeid(T), name);
return std::reinterpret_pointer_cast<const T>(result);
}
-
-#endif // CORE_RESOURCE_RESOURCE_HH