Fix regression from 6d05bf16b1
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user