summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helpers.h b/lib/helpers.h
index d2584d0..17c60dc 100644
--- a/lib/helpers.h
+++ b/lib/helpers.h
@@ -20,7 +20,7 @@ namespace MyGrate {
verify(bool expr, P &&... p)
{
if (!expr) {
- throw X(std::forward<P...>(p)...);
+ throw X(std::forward<P>(p)...);
}
}