0
0
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:
Kaloian Manassiev 2015-07-09 17:21:05 -04:00
parent 3a1a4466e0
commit 7ec44c2c37

View File

@ -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()));