From bfa23401e58c490493824032faaa29f5da7fcbe6 Mon Sep 17 00:00:00 2001 From: yhirose Date: Mon, 28 May 2018 21:06:38 -0400 Subject: [PATCH] Removed unused function --- peglib.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/peglib.h b/peglib.h index 20b5080..717b142 100644 --- a/peglib.h +++ b/peglib.h @@ -2312,13 +2312,6 @@ private: const std::vector filters_; }; -template -static std::shared_ptr optimize_ast( - std::shared_ptr ast, - const std::vector& filters = {}) { - return AstOptimizer(true, filters).optimize(ast); -} - struct EmptyType {}; typedef AstBase Ast;