change conversions to static_cast

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-11 17:03:54 -07:00
parent 27c0ed9878
commit 75c388b746
19 changed files with 60 additions and 63 deletions
@@ -125,7 +125,7 @@ namespace Camera
});
if (cameraIt != m_cameraItems.end())
{
int listIndex = aznumeric_cast<int>(cameraIt - m_cameraItems.begin());
int listIndex = static_cast<int>(cameraIt - m_cameraItems.begin());
beginRemoveRows(QModelIndex(), listIndex, listIndex);
m_cameraItems.erase(cameraIt);
endRemoveRows();