Remove unnecessary cast

This commit is contained in:
Marius Kittler 2017-11-16 17:12:21 +01:00
parent 44af199aeb
commit d5613954a4
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ inline void StatusProvider::invokeCallbacks()
*/
inline void StatusProvider::updateWorstNotificationType(NotificationType notificationType)
{
if(static_cast<int>(m_worstNotificationType) < static_cast<int>(notificationType)) {
if(m_worstNotificationType < notificationType) {
m_worstNotificationType = notificationType;
}
}