mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-07 13:37:46 +00:00
rsx: Apply Clang-Tidy fix "readability-string-compare"
This commit is contained in:
parent
ac7e89660f
commit
35dc98be06
1 changed files with 2 additions and 2 deletions
|
|
@ -94,7 +94,7 @@ struct ParamType
|
|||
{
|
||||
for (u32 i = 0; i<items.size(); ++i)
|
||||
{
|
||||
if (items[i].name.compare(name) == 0) return true;
|
||||
if (items[i].name == name) return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
@ -109,7 +109,7 @@ struct ParamArray
|
|||
{
|
||||
for (u32 i = 0; i<params[flag].size(); ++i)
|
||||
{
|
||||
if (params[flag][i].type.compare(type) == 0)
|
||||
if (params[flag][i].type == type)
|
||||
return ¶ms[flag][i];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue