From bcc5cc28c6dc5178e8f4fd0cc521034ae5def388 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:22:18 +0200 Subject: 5.10 --- algorithm.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'algorithm.cpp') diff --git a/algorithm.cpp b/algorithm.cpp index 3bfc14e2..a39473a4 100644 --- a/algorithm.cpp +++ b/algorithm.cpp @@ -997,8 +997,7 @@ private: void zen::addHardFiltering(BaseDirMapping& baseMap, const Zstring& excludeFilter) { - ApplyHardFilter(*HardFilter::FilterRef( - new NameFilter(FilterConfig().includeFilter, excludeFilter))).execute(baseMap); + ApplyHardFilter(NameFilter(FilterConfig().includeFilter, excludeFilter)).execute(baseMap); } -- cgit