Skip to content

Commit bfa2340

Browse files
committed
Removed unused function
1 parent 0dfe7a2 commit bfa2340

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

peglib.h

-7
Original file line numberDiff line numberDiff line change
@@ -2312,13 +2312,6 @@ struct AstOptimizer
23122312
const std::vector<std::string> filters_;
23132313
};
23142314

2315-
template <typename T>
2316-
static std::shared_ptr<T> optimize_ast(
2317-
std::shared_ptr<T> ast,
2318-
const std::vector<std::string>& filters = {}) {
2319-
return AstOptimizer(true, filters).optimize(ast);
2320-
}
2321-
23222315
struct EmptyType {};
23232316
typedef AstBase<EmptyType> Ast;
23242317

0 commit comments

Comments
 (0)