diff options
| author | untodesu <kirill@untode.su> | 2025-12-26 23:17:56 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-12-26 23:17:56 +0500 |
| commit | 0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e (patch) | |
| tree | 90ddefa28b40b6384dd9618bb7573704de2733a9 /src/core/resource/resource.hh | |
| parent | 6bb4233d5b2a1688e63c947542e92ec5d5a857a6 (diff) | |
| download | voxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.tar.bz2 voxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.zip | |
Add include guards and header comments to sources
Diffstat (limited to 'src/core/resource/resource.hh')
| -rw-r--r-- | src/core/resource/resource.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/resource/resource.hh b/src/core/resource/resource.hh index 105c7ff..e2a5659 100644 --- a/src/core/resource/resource.hh +++ b/src/core/resource/resource.hh @@ -1,3 +1,10 @@ +// SPDX-License-Identifier: BSD-2-Clause +// Copyright (c) 2025 Kirill Dmitrievich +// File: resource.hh +// Description: Resource management + +#ifndef CORE_RESOURCE_RESOURCE_HH +#define CORE_RESOURCE_RESOURCE_HH #pragma once template<typename T> @@ -51,3 +58,5 @@ 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 |
