summaryrefslogtreecommitdiffstats
path: root/core/resource
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-09-11 15:47:37 +0500
committeruntodesu <kirill@untode.su>2025-09-11 15:47:37 +0500
commitcbd823aa2154a956e7da4319eecbf7afc10441ae (patch)
treee8166604b86f68fa6bdcf5f16dba88f1672f92b2 /core/resource
parentb8bbc54c5c920aff1ff1b45a693f50d6d96d61c8 (diff)
downloadvoxelius-cbd823aa2154a956e7da4319eecbf7afc10441ae.tar.bz2
voxelius-cbd823aa2154a956e7da4319eecbf7afc10441ae.zip
Remove include guards
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