From f62a7261669226485b912afbe6db45d5fd9964ee Mon Sep 17 00:00:00 2001 From: hvellyr Date: Wed, 1 Jun 2016 12:32:25 +0200 Subject: [PATCH] Avoid C++14 feature in peglib.h ... which allows to use peglib.h in a C++11 only environment. --- peglib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } /*-----------------------------------------------------------------------------