Commit 16ec2eb3 authored by Jim King's avatar Jim King Committed by Jørgen Lind
Browse files

make unsafe expression less unsafe

parent eeb15eb0
......@@ -2961,7 +2961,7 @@ main(int argc, char* argv[])
const auto
perFileMemoryLimit = dvmMemoryLimit / dataProviders.size();
assert(dataProviders.size() == fileInfo.IsOffsetSorted() ? fileInfo.m_segmentInfoListsByOffset.size() : fileInfo.m_segmentInfoLists.size());
assert(dataProviders.size() == (fileInfo.IsOffsetSorted() ? fileInfo.m_segmentInfoListsByOffset.size() : fileInfo.m_segmentInfoLists.size()));
for (size_t fileIndex = 0; fileIndex < dataProviders.size(); ++fileIndex)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment