Index: compiled/subscription/UserDefinedSubscription.cpp |
=================================================================== |
--- a/compiled/subscription/UserDefinedSubscription.cpp |
+++ b/compiled/subscription/UserDefinedSubscription.cpp |
@@ -51,27 +51,27 @@ |
: Subscription(Type::USERDEFINED, id), mDefaults(0) |
{ |
} |
bool UserDefinedSubscription::IsDefaultFor(const Filter& filter) const |
{ |
if (filter.mType >= Filter::Type::VALUE_COUNT) |
{ |
- assert(false, "Filter type exceeds valid range"); |
+ assert2(false, "Filter type exceeds valid range"); |
abort(); |
} |
return mDefaults & filterTypeToCategory[filter.mType]; |
} |
void UserDefinedSubscription::MakeDefaultFor(const Filter& filter) |
{ |
if (filter.mType >= Filter::Type::VALUE_COUNT) |
{ |
- assert(false, "Filter type exceeds valid range"); |
+ assert2(false, "Filter type exceeds valid range"); |
abort(); |
} |
mDefaults |= filterTypeToCategory[filter.mType]; |
} |
void UserDefinedSubscription::InsertFilterAt(Filter& filter, unsigned pos) |
{ |
if (pos >= mFilters.size()) |