diff options
Diffstat (limited to 'Firestore/core/src/firebase/firestore/model/transform_operations.h')
-rw-r--r-- | Firestore/core/src/firebase/firestore/model/transform_operations.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Firestore/core/src/firebase/firestore/model/transform_operations.h b/Firestore/core/src/firebase/firestore/model/transform_operations.h index 8eed7ae..a5c5f82 100644 --- a/Firestore/core/src/firebase/firestore/model/transform_operations.h +++ b/Firestore/core/src/firebase/firestore/model/transform_operations.h @@ -191,8 +191,8 @@ class ArrayTransform : public TransformOperation { static const std::vector<FSTFieldValue*>& Elements( const TransformOperation& op) { - FIREBASE_ASSERT(op.type() == Type::ArrayUnion || - op.type() == Type::ArrayRemove); + HARD_ASSERT(op.type() == Type::ArrayUnion || + op.type() == Type::ArrayRemove); return static_cast<const ArrayTransform&>(op).elements(); } @@ -225,7 +225,7 @@ class ArrayTransform : public TransformOperation { [result addObject:element]; } } else { - FIREBASE_ASSERT(type_ == Type::ArrayRemove); + HARD_ASSERT(type_ == Type::ArrayRemove); [result removeObject:element]; } } |