From e82cb174e02b2aa1868b7c41d48addd78146b291 Mon Sep 17 00:00:00 2001 From: Guillaume Dupuy Date: Sun, 4 Dec 2016 13:37:04 +0100 Subject: [PATCH] Use std::string instead of ucstring --HG-- branch : target_sheet --- code/ryzom/client/src/entities.cpp | 4 ++-- code/ryzom/client/src/entities.h | 2 +- code/ryzom/client/src/interface_v3/action_handler_game.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/ryzom/client/src/entities.cpp b/code/ryzom/client/src/entities.cpp index 55c7c6772..ca087a837 100644 --- a/code/ryzom/client/src/entities.cpp +++ b/code/ryzom/client/src/entities.cpp @@ -1953,12 +1953,12 @@ CEntityCL *CEntityManager::getEntityByCompressedIndex(TDataSetIndex compressedIn // getEntityBySheetName : // Return an entity based on its sheet name //----------------------------------------------- -CEntityCL *CEntityManager::getEntityBySheetName (const ucstring &sheet) const +CEntityCL *CEntityManager::getEntityBySheetName (const std::string &sheet) const { if (!sheet.empty()) { uint i; - const CSheetId& sheetRef = NLMISC::CSheetId(sheet.toUtf8()); + const CSheetId& sheetRef = NLMISC::CSheetId(sheet); const uint count = (uint)_Entities.size(); for (i=0; i