Skip to content

Commit

Permalink
fix auto copy value
Browse files Browse the repository at this point in the history
Co-Authored-By: eagleivg <[email protected]>
  • Loading branch information
Xottab-DUTY and eagleivg committed Nov 8, 2018
1 parent 69912da commit ac51859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrEngine/xr_object_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ void CObjectList::Destroy(IGameObject* game_obj)
Msg("assertion !m_other_crows.empty() failed: %d", m_secondary_crows.size());

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

0 comments on commit ac51859

Please sign in to comment.