MemorySearcherTool: Use Use std::string with boost::icontains

This commit is contained in:
OatmealDome 2022-09-01 15:32:54 -04:00
parent dbca758a60
commit 642d2c2fd9

View File

@ -300,14 +300,14 @@ void MemorySearcherTool::Load()
bool found = false;
for (const auto& entry : kDataTypeNames)
{
if (boost::iequals(entry, *option_type))
if (boost::iequals(std::string(entry.mb_str()), *option_type))
{
found = true;
break;
}
}
if (!found && !boost::iequals(kDatatypeString, *option_type))
if (!found && !boost::iequals(std::string(kDatatypeString.mb_str()), *option_type))
continue;
wxVector<wxVariant> data;