Skip to content

Commit 0239597

Browse files
committed
SERVER-14436 Fix signed-unsigned comparison compile error in unit test.
1 parent 3c5246b commit 0239597

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mongo/db/repl/member_config_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ namespace {
160160
ASSERT_EQUALS(2U, mc.getNumTags());
161161
std::vector<ReplicaSetTag> tags(mc.tagsBegin(), mc.tagsEnd());
162162
ASSERT_EQUALS(2U, tags.size());
163-
ASSERT_EQUALS(1U, std::count(tags.begin(), tags.end(), ReplicaSetTag("k1", "v1")));
164-
ASSERT_EQUALS(1U, std::count(tags.begin(), tags.end(), ReplicaSetTag("k2", "v2")));
163+
ASSERT_EQUALS(1, std::count(tags.begin(), tags.end(), ReplicaSetTag("k1", "v1")));
164+
ASSERT_EQUALS(1, std::count(tags.begin(), tags.end(), ReplicaSetTag("k2", "v2")));
165165
}
166166

167167
TEST(MemberConfig, ValidateFailsWithIdOutOfRange) {

0 commit comments

Comments
 (0)