summaryrefslogtreecommitdiff
path: root/src/helpers/AnimatedVariable.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/AnimatedVariable.hpp')
-rw-r--r--src/helpers/AnimatedVariable.hpp6
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();
}
}