summaryrefslogtreecommitdiffstats
path: root/core/resource/resource.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-09-11 13:48:31 +0500
committeruntodesu <kirill@untode.su>2025-09-11 13:48:31 +0500
commitaaed751bf4430bf4b9b30cef532b8753b9f639ce (patch)
tree16bc751c272ba27ad53ec48dbdd3a6d9e6a8d4c2 /core/resource/resource.hh
parent96bd73ae020ecca1f94698744c77498a89ad19f7 (diff)
downloadvoxelius-aaed751bf4430bf4b9b30cef532b8753b9f639ce.tar.bz2
voxelius-aaed751bf4430bf4b9b30cef532b8753b9f639ce.zip
Replace most of C strings with string_view
Diffstat (limited to 'core/resource/resource.hh')
-rw-r--r--core/resource/resource.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/resource/resource.hh b/core/resource/resource.hh
index 4946ffa..5b6b2ac 100644
--- a/core/resource/resource.hh
+++ b/core/resource/resource.hh
@@ -8,7 +8,7 @@ using resource_ptr = std::shared_ptr<const T>;
namespace resource
{
template<typename T>
-resource_ptr<T> load(const char* name, unsigned int flags = 0U);
+resource_ptr<T> load(std::string_view name, unsigned int flags = 0U);
template<typename T>
void hard_cleanup(void);
template<typename T>