mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 14:11:59 -07:00
use std::unreachable in avars
This commit is contained in:
@@ -128,10 +128,10 @@ public:
|
||||
case AVARTYPE_COLOR:
|
||||
return m_cValue != m_cGoal;
|
||||
default:
|
||||
return false;
|
||||
std::unreachable();
|
||||
}
|
||||
|
||||
return false; // unreachable
|
||||
std::unreachable();
|
||||
}
|
||||
|
||||
void warp() {
|
||||
@@ -149,7 +149,7 @@ public:
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
std::unreachable();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user