mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
wxTitleManagerList: Remove usage of u8string
This commit is contained in:
parent
21fb1c2cc3
commit
80b31a032e
1 changed files with 5 additions and 5 deletions
|
@ -200,10 +200,10 @@ boost::optional<wxTitleManagerList::TitleEntry&> wxTitleManagerList::GetTitleEnt
|
||||||
|
|
||||||
boost::optional<const wxTitleManagerList::TitleEntry&> wxTitleManagerList::GetTitleEntry(const fs::path& path) const
|
boost::optional<const wxTitleManagerList::TitleEntry&> wxTitleManagerList::GetTitleEntry(const fs::path& path) const
|
||||||
{
|
{
|
||||||
const auto tmp = path.generic_u8string();
|
const auto tmp = _utf8Wrapper(path);
|
||||||
for (const auto& data : m_data)
|
for (const auto& data : m_data)
|
||||||
{
|
{
|
||||||
if (boost::iequals(data->entry.path.generic_u8string(), tmp))
|
if (boost::iequals(_utf8Wrapper(data->entry.path), tmp))
|
||||||
return data->entry;
|
return data->entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -211,10 +211,10 @@ boost::optional<const wxTitleManagerList::TitleEntry&> wxTitleManagerList::GetTi
|
||||||
}
|
}
|
||||||
boost::optional<wxTitleManagerList::TitleEntry&> wxTitleManagerList::GetTitleEntry(const fs::path& path)
|
boost::optional<wxTitleManagerList::TitleEntry&> wxTitleManagerList::GetTitleEntry(const fs::path& path)
|
||||||
{
|
{
|
||||||
const auto tmp = path.generic_u8string();
|
const auto tmp = _utf8Wrapper(path);
|
||||||
for (const auto& data : m_data)
|
for (const auto& data : m_data)
|
||||||
{
|
{
|
||||||
if (boost::iequals(data->entry.path.generic_u8string(), tmp))
|
if (boost::iequals(_utf8Wrapper(data->entry.path), tmp))
|
||||||
return data->entry;
|
return data->entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue