Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarAssetPath.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-15 21:28:11 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-15 21:28:11 +1100
commit6fa0afd758a6351873df813cd7e70b1904714ed6 (patch)
treefbf45f18af0962a1d9ed3a2f44d8bb208c032645 /source/core/StarAssetPath.cpp
parent696abcca71274fbda2470f1941cb2e06b6ff8c61 (diff)
experimental asset load scripts
Diffstat (limited to 'source/core/StarAssetPath.cpp')
-rw-r--r--source/core/StarAssetPath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarAssetPath.cpp b/source/core/StarAssetPath.cpp
index 9a7833b..e54a139 100644
--- a/source/core/StarAssetPath.cpp
+++ b/source/core/StarAssetPath.cpp
@@ -41,7 +41,7 @@ AssetPath AssetPath::split(String const& path) {
if (str[end] == ':') {
size_t beg = end + 1;
if (beg != str.size()) {
- end = str.find_first_of("?", beg);
+ end = str.find_first_of('?', beg);
if (end == NPos && beg + 1 != str.size())
components.subPath.emplace(str.substr(beg));
else if (size_t len = end - beg)