mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-29 06:39:48 -06:00
rsx: Apply Clang-Tidy fix "performance-for-range-copy"
This commit is contained in:
parent
db926ee671
commit
331fe01762
@ -187,7 +187,7 @@ void GLVertexDecompilerThread::insertMainStart(std::stringstream & OS)
|
||||
OS << "{\n";
|
||||
|
||||
//Declare temporary registers, ignoring those mapped to outputs
|
||||
for (const ParamType PT : m_parr.params[PF_PARAM_NONE])
|
||||
for (const ParamType &PT : m_parr.params[PF_PARAM_NONE])
|
||||
{
|
||||
for (const ParamItem &PI : PT.items)
|
||||
{
|
||||
|
||||
@ -223,7 +223,7 @@ void VKVertexDecompilerThread::insertMainStart(std::stringstream & OS)
|
||||
OS << "{\n";
|
||||
|
||||
//Declare temporary registers, ignoring those mapped to outputs
|
||||
for (const ParamType PT : m_parr.params[PF_PARAM_NONE])
|
||||
for (const ParamType &PT : m_parr.params[PF_PARAM_NONE])
|
||||
{
|
||||
for (const ParamItem &PI : PT.items)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user