rsx: Apply Clang-Tidy fix "performance-for-range-copy"
This commit is contained in:
@@ -187,7 +187,7 @@ void GLVertexDecompilerThread::insertMainStart(std::stringstream & OS)
|
|||||||
OS << "{\n";
|
OS << "{\n";
|
||||||
|
|
||||||
//Declare temporary registers, ignoring those mapped to outputs
|
//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)
|
for (const ParamItem &PI : PT.items)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ void VKVertexDecompilerThread::insertMainStart(std::stringstream & OS)
|
|||||||
OS << "{\n";
|
OS << "{\n";
|
||||||
|
|
||||||
//Declare temporary registers, ignoring those mapped to outputs
|
//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)
|
for (const ParamItem &PI : PT.items)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user