mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-19111 Fix signed/unsigned mismatch error with clang
This commit is contained in:
parent
3a1a4466e0
commit
7ec44c2c37
@ -120,10 +120,10 @@ protected:
|
||||
|
||||
ASSERT_EQUALS(nss.toString(), actualBatchedUpdate.getNS().toString());
|
||||
|
||||
auto updatedCount = actualBatchedUpdate.getUpdates().size();
|
||||
ASSERT_EQUALS(1, updatedCount);
|
||||
auto updatesList = actualBatchedUpdate.getUpdates();
|
||||
ASSERT_EQUALS(1U, updatesList.size());
|
||||
|
||||
auto updated = actualBatchedUpdate.getUpdates().front();
|
||||
auto updated = updatesList.front();
|
||||
ASSERT(updated->getUpsert());
|
||||
|
||||
const DatabaseType dbt = assertGet(DatabaseType::fromBSON(updated->getUpdateExpr()));
|
||||
|
Loading…
Reference in New Issue
Block a user