mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0033375: Coding - Static Analyzing processing. Performance
Performance update applied: - moving to const reference as much as possible Result of CLANG_TIDY (static analyzing filter: perform*)
This commit is contained in:
@@ -39,7 +39,7 @@ void StdLPersistent_Dependency::instance<AttribClass>::Import
|
||||
StdLPersistent_HArray1OfPersistent::Iterator anIter (*myVariables->Array());
|
||||
for (; anIter.More(); anIter.Next())
|
||||
{
|
||||
const Handle(StdObjMgt_Persistent) aPersistent = anIter.Value();
|
||||
const Handle(StdObjMgt_Persistent)& aPersistent = anIter.Value();
|
||||
if (aPersistent)
|
||||
theAttribute->GetVariables().Append (aPersistent->GetAttribute());
|
||||
}
|
||||
|
Reference in New Issue
Block a user