diff options
Diffstat (limited to 'algorithm.cpp')
-rw-r--r-- | algorithm.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<STRATEGY_AND>(*HardFilter::FilterRef( - new NameFilter(FilterConfig().includeFilter, excludeFilter))).execute(baseMap); + ApplyHardFilter<STRATEGY_AND>(NameFilter(FilterConfig().includeFilter, excludeFilter)).execute(baseMap); } |