VC doesn't seem to like ctor being used to assign a reference pointer.

This commit is contained in:
Shyotl
2012-02-05 05:58:36 -06:00
parent 01a8e11ef3
commit 2617df44db

View File

@@ -370,7 +370,7 @@ void LLFastTimer::updateCachedPointers()
llassert(frame_state_list[vector_size - 1].mParent == vector_start); // The one that was added at the end is already OK.
for (int i = 2; i < vector_size - 1; ++i)
{
FrameState*& parent(frame_state_list[i].mParent);
FrameState*& parent = frame_state_list[i].mParent;
if (parent != &root_frame_state)
{
parent += offset;