diff options
author | vaxerski <[email protected]> | 2022-07-06 16:54:45 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-07-06 16:54:45 +0200 |
commit | 42d18143e507a9803a402057d29387733292fb43 (patch) | |
tree | 97e0a29d6ed4137e9e6d719d83691608b2b2eba9 /src/helpers/AnimatedVariable.hpp | |
parent | f9756d10d4d1c5ea7737cf3a237b1f966d6b7a01 (diff) | |
download | Hyprland-42d18143e507a9803a402057d29387733292fb43.tar.gz Hyprland-42d18143e507a9803a402057d29387733292fb43.zip |
use std::unreachable in avars
Diffstat (limited to 'src/helpers/AnimatedVariable.hpp')
-rw-r--r-- | src/helpers/AnimatedVariable.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helpers/AnimatedVariable.hpp b/src/helpers/AnimatedVariable.hpp index ceda2c57..a87fff4f 100644 --- a/src/helpers/AnimatedVariable.hpp +++ b/src/helpers/AnimatedVariable.hpp @@ -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(); } } |