Skip to content

Commit 48103b1

Browse files
authored
Replace HARD_ASSERT with SIMPLE_HARD_ASSERT to fix iOS absl linker error in Unity SDK (#616)
1 parent de035e1 commit 48103b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firestore/src/main/transaction_main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ void TransactionInternal::MarkPermanentlyFailed() {
180180

181181
void TransactionInternal::ValidateReference(const DocumentReference& document) {
182182
auto* internal_doc = GetInternal(&document);
183-
HARD_ASSERT(internal_doc, "Invalid document reference provided.");
183+
SIMPLE_HARD_ASSERT(internal_doc, "Invalid document reference provided.");
184184

185185
if (internal_doc->firestore() != firestore()) {
186186
ThrowInvalidArgument(

0 commit comments

Comments
 (0)