summaryrefslogtreecommitdiff
path: root/algorithm.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:18 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:18 +0200
commitbcc5cc28c6dc5178e8f4fd0cc521034ae5def388 (patch)
treebacc60d27b435d32172f97643576c5e4e953177d /algorithm.cpp
parent5.9 (diff)
downloadFreeFileSync-bcc5cc28c6dc5178e8f4fd0cc521034ae5def388.tar.gz
FreeFileSync-bcc5cc28c6dc5178e8f4fd0cc521034ae5def388.tar.bz2
FreeFileSync-bcc5cc28c6dc5178e8f4fd0cc521034ae5def388.zip
5.10
Diffstat (limited to 'algorithm.cpp')
-rw-r--r--algorithm.cpp3
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);
}
bgstack15