Coverity 1304850

This commit is contained in:
Pavel Kirienko
2015-06-10 13:30:51 +03:00
parent a1cf761917
commit 1a7a94c24c
+2 -1
View File
@@ -630,7 +630,8 @@ class UAVCAN_EXPORT Array : public ArrayImpl<T, ArrayMode, MaxSize_>
}
else // Lower-left triangle
{
// Transposing one element
// Transposing one element, argument swapping is intentional
// coverity[swapped_arguments]
*it++ = *(dst_row_major + Traits::computeElementIndexAtRowCol(col, row));
}
}