From 6fa0afd758a6351873df813cd7e70b1904714ed6 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Fri, 15 Mar 2024 21:28:11 +1100 Subject: experimental asset load scripts --- source/core/StarAssetPath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core/StarAssetPath.cpp') 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) -- cgit v1.2.3