Skip to content

Commit

Permalink
Simplify push_back GroupNotify (#1736)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanton authored and jparise committed Jan 2, 2020
1 parent 005e2d5 commit 69ae7dd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Source/Details/Transactions/_ASAsyncTransaction.mm
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,7 @@ - (NSString *)description
if (_pendingOperations == 0) {
dispatch_async(queue, block);
} else {
GroupNotify notify;
notify._block = block;
notify._queue = queue;
_notifyList.push_back(notify);
_notifyList.push_back({block, queue});
}
}

Expand Down

0 comments on commit 69ae7dd

Please sign in to comment.