| Index: compiled/storage/FilterStorage.cpp |
| =================================================================== |
| --- a/compiled/storage/FilterStorage.cpp |
| +++ b/compiled/storage/FilterStorage.cpp |
| @@ -107,17 +107,17 @@ |
| ); |
| return true; |
| } |
| bool FilterStorage::MoveSubscription(Subscription& subscription, |
| const Subscription* insertBefore) |
| { |
| int oldPos = IndexOfSubscription(subscription); |
| - assert(oldPos >= 0, u"Attempt to move a subscription that is not in the list"_str); |
| + assert2(oldPos >= 0, u"Attempt to move a subscription that is not in the list"_str); |
| if (oldPos == -1) |
| return false; |
| int newPos = -1; |
| if (insertBefore) |
| newPos = IndexOfSubscription(*insertBefore); |
| if (newPos == -1) |
| newPos = mSubscriptions.size(); |