summaryrefslogtreecommitdiff
path: root/library/filter.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:53 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:53 +0200
commit618dfb51d93898632830f1b87443d3f748780871 (patch)
treebac520a2e261154f8d35b0cb8aa345f5ab373811 /library/filter.cpp
parent3.4 (diff)
downloadFreeFileSync-618dfb51d93898632830f1b87443d3f748780871.tar.gz
FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.tar.bz2
FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.zip
3.5
Diffstat (limited to 'library/filter.cpp')
-rw-r--r--library/filter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/filter.cpp b/library/filter.cpp
index b1b67b86..d7f12bec 100644
--- a/library/filter.cpp
+++ b/library/filter.cpp
@@ -273,8 +273,8 @@ bool NameFilter::isNull() const
bool NameFilter::cmpLessSameType(const BaseFilter& other) const
{
- //typeid(*this) == typeid(other) in this context!
- assert(typeid(*this) == typeid(other));
+ assert(typeid(*this) == typeid(other)); //always given in this context!
+
const NameFilter& otherNameFilt = static_cast<const NameFilter&>(other);
if (filterFileIn != otherNameFilt.filterFileIn)
bgstack15