Skip to content

Commit ac51859

Browse files
Xottab-DUTYeagleivg
andcommitted
fix auto copy value
Co-Authored-By: eagleivg <eagleivg@users.noreply.github.com>
1 parent 69912da commit ac51859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrEngine/xr_object_list.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ void CObjectList::Destroy(IGameObject* game_obj)
501501
Msg("assertion !m_other_crows.empty() failed: %d", m_secondary_crows.size());
502502

503503
u32 j = 0;
504-
for (auto iter: m_secondary_crows)
504+
for (auto& iter : m_secondary_crows)
505505
Msg("%d %s", j++, iter->cName().c_str());
506506
VERIFY(Device.Paused() || m_secondary_crows.empty());
507507
m_secondary_crows.clear();

0 commit comments

Comments
 (0)