diff --git a/peglib.h b/peglib.h index 453a709..e308d01 100644 --- a/peglib.h +++ b/peglib.h @@ -194,7 +194,7 @@ private: template auto make_scope_exit(EF&& exit_function) -> scope_exit { - return scope_exit>(std::forward(exit_function)); + return scope_exit::type>(std::forward(exit_function)); } /*-----------------------------------------------------------------------------