From 09d26d43b5262f480fd55eab9980eff06a71edbb Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:42:18 +1000 Subject: Add string view variant of Star::String and use it it's 1:30 AM AGAIN !! !!!!! This might have broken the inventory icons of custom hats a little, need to look into that --- source/core/StarAssetPath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/core/StarAssetPath.cpp') diff --git a/source/core/StarAssetPath.cpp b/source/core/StarAssetPath.cpp index 82eca93..90116bb 100644 --- a/source/core/StarAssetPath.cpp +++ b/source/core/StarAssetPath.cpp @@ -175,9 +175,9 @@ std::ostream& operator<<(std::ostream& os, AssetPath const& rhs) { os << *rhs.subPath; } - rhs.directives.forEach([&](auto const& entry) { + rhs.directives.forEach([&](auto const& entry, Directives const& directives) { os << "?"; - os << entry.string; + os << entry.string(*directives.shared); }); return os; -- cgit v1.2.3