Index: src/libchengine/TSubTaskArray.cpp =================================================================== diff -u -r08717141ce5f6926116c298cbc9442094a45bb67 -r178e776294cbc8e3a5a33b355a314e0db94b214b --- src/libchengine/TSubTaskArray.cpp (.../TSubTaskArray.cpp) (revision 08717141ce5f6926116c298cbc9442094a45bb67) +++ src/libchengine/TSubTaskArray.cpp (.../TSubTaskArray.cpp) (revision 178e776294cbc8e3a5a33b355a314e0db94b214b) @@ -200,7 +200,6 @@ rSnapshot.Clear(); // current task - // ugly const_cast - const method, non-const interlocked intrinsic and we're really not modifying the member... object_id_t oidIndex = m_oidSubOperationIndex.load(std::memory_order_acquire); rSnapshot.SetCurrentSubtaskIndex(oidIndex);