Index: compiled/subscription/Subscription.cpp |
=================================================================== |
--- a/compiled/subscription/Subscription.cpp |
+++ b/compiled/subscription/Subscription.cpp |
@@ -34,28 +34,28 @@ Subscription::Subscription(Type type, co |
annotate_address(this, "Subscription"); |
} |
Subscription::~Subscription() |
{ |
knownSubscriptions.erase(mID); |
} |
-Filter* Subscription::FilterAt(unsigned index) |
+Filter* Subscription::FilterAt(Subscription::Filters::size_type index) |
{ |
if (index >= mFilters.size()) |
return nullptr; |
FilterPtr result(mFilters[index]); |
return result.release(); |
} |
int Subscription::IndexOfFilter(Filter* filter) |
{ |
- for (unsigned i = 0; i < mFilters.size(); i++) |
+ for (Filters::size_type i = 0; i < mFilters.size(); i++) |
if (mFilters[i] == filter) |
return i; |
return -1; |
} |
OwnedString Subscription::Serialize() const |
{ |
OwnedString result(u"[Subscription]\nurl="_str); |