Fix regression from 6d05bf16b1

This commit is contained in:
Wojtek Figat
2025-09-05 08:40:13 +02:00
parent 67220d3f80
commit 1f6d837117
4 changed files with 4 additions and 4 deletions

View File

@@ -279,7 +279,7 @@ void Asset::OnDeleteObject()
const bool wasMarkedToDelete = _deleteFileOnUnload != 0;
#if USE_EDITOR
const String path = wasMarkedToDelete ? GetPath() : StringView::Empty;
const String path = wasMarkedToDelete ? String(GetPath()) : String::Empty;
#endif
const Guid id = GetID();