summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helpers.h b/lib/helpers.h
index 45be139..5bf1bd8 100644
--- a/lib/helpers.h
+++ b/lib/helpers.h
@@ -19,7 +19,7 @@ namespace MyGrate {
constexpr inline auto
verify(R expr, P &&... p)
{
- if (!expr) {
+ if (!expr) [[unlikely]] {
throw X(std::forward<P>(p)...);
}
return expr;