mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-06 18:40:36 +00:00
rsx: Apply Clang-Tidy fix "readability-string-compare"
This commit is contained in:
parent
ac7e89660f
commit
35dc98be06
@ -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…
x
Reference in New Issue
Block a user