aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/third_party/Immutable/FSTArraySortedDictionary.m
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/third_party/Immutable/FSTArraySortedDictionary.m')
-rw-r--r--Firestore/third_party/Immutable/FSTArraySortedDictionary.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/Firestore/third_party/Immutable/FSTArraySortedDictionary.m b/Firestore/third_party/Immutable/FSTArraySortedDictionary.m
index e9325a7..985b514 100644
--- a/Firestore/third_party/Immutable/FSTArraySortedDictionary.m
+++ b/Firestore/third_party/Immutable/FSTArraySortedDictionary.m
@@ -1,7 +1,6 @@
#import "Firestore/third_party/Immutable/FSTArraySortedDictionary.h"
#import "Firestore/third_party/Immutable/FSTArraySortedDictionaryEnumerator.h"
-#import "Firestore/Source/Util/FSTAssert.h"
#import "Firestore/third_party/Immutable/FSTTreeSortedDictionary.h"
NS_ASSUME_NONNULL_BEGIN
@@ -38,7 +37,7 @@ NS_ASSUME_NONNULL_BEGIN
for (id key in keys) {
values[pos++] = dictionary[key];
}
- FSTAssert(values.count == keys.count, @"We added as many keys as values");
+ NSAssert(values.count == keys.count, @"We added as many keys as values");
return [[FSTArraySortedDictionary alloc] initWithComparator:comparator keys:keys values:values];
}
@@ -50,7 +49,7 @@ NS_ASSUME_NONNULL_BEGIN
- (id)initWithComparator:(NSComparator)comparator keys:(NSArray *)keys values:(NSArray *)values {
self = [super init];
if (self != nil) {
- FSTAssert(keys.count == values.count, @"keys and values must have the same count");
+ NSAssert(keys.count == values.count, @"keys and values must have the same count");
_comparator = comparator;
_keys = keys;
_values = values;