Remove unnecessary cast
This commit is contained in:
parent
44af199aeb
commit
d5613954a4
|
@ -272,7 +272,7 @@ inline void StatusProvider::invokeCallbacks()
|
||||||
*/
|
*/
|
||||||
inline void StatusProvider::updateWorstNotificationType(NotificationType notificationType)
|
inline void StatusProvider::updateWorstNotificationType(NotificationType notificationType)
|
||||||
{
|
{
|
||||||
if(static_cast<int>(m_worstNotificationType) < static_cast<int>(notificationType)) {
|
if(m_worstNotificationType < notificationType) {
|
||||||
m_worstNotificationType = notificationType;
|
m_worstNotificationType = notificationType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue