Skip to content

Commit

Permalink
Trivial warnings fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ybainier committed May 10, 2017
1 parent 0e9b7e0 commit 96693d4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Hypodermic.Tests/ContainerTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace Testing

// Assert
auto instances = container->resolveAll< DefaultConstructibleBase >();
BOOST_REQUIRE_EQUAL(instances.size(), 2);
BOOST_REQUIRE_EQUAL(instances.size(), 2u);
BOOST_CHECK(instances[0] == std::dynamic_pointer_cast< DefaultConstructible1 >(instances[0]));
BOOST_CHECK(instances[1] == std::dynamic_pointer_cast< DefaultConstructible2 >(instances[1]));
}
Expand Down
2 changes: 1 addition & 1 deletion Hypodermic.Tests/NestedContainerTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ namespace Testing
auto instances = nestedContainer->resolveAll< DefaultConstructibleBase >();

// Assert
BOOST_REQUIRE_EQUAL(instances.size(), 2);
BOOST_REQUIRE_EQUAL(instances.size(), 2u);
BOOST_CHECK(instances[0] != nullptr);
BOOST_CHECK(instances[1] != nullptr);
BOOST_CHECK(instances[0] != instances[1]);
Expand Down
4 changes: 2 additions & 2 deletions Hypodermic.Tests/RegistrationTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace Testing

BOOST_CHECK(instance1 != instance2);

BOOST_REQUIRE_EQUAL(activatedInstances.size(), 2);
BOOST_REQUIRE_EQUAL(activatedInstances.size(), 2u);
BOOST_CHECK(instance1 == activatedInstances[0]);
BOOST_CHECK(instance2 == activatedInstances[1]);
}
Expand Down Expand Up @@ -67,7 +67,7 @@ namespace Testing

BOOST_CHECK(instance1 == instance2);

BOOST_REQUIRE_EQUAL(activatedInstances.size(), 1);
BOOST_REQUIRE_EQUAL(activatedInstances.size(), 1u);
BOOST_CHECK(instance1 == activatedInstances[0]);
}

Expand Down
2 changes: 1 addition & 1 deletion Hypodermic.Tests/UseIfNoneTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ namespace Testing

// Assert
auto instances = container->resolveAll< DefaultConstructibleBase >();
BOOST_REQUIRE_EQUAL(instances.size(), 2);
BOOST_REQUIRE_EQUAL(instances.size(), 2u);
BOOST_CHECK(instances[0] == std::dynamic_pointer_cast< DefaultConstructible2 >(instances[0]));
BOOST_CHECK(instances[1] == std::dynamic_pointer_cast< DefaultConstructible1 >(instances[1]));
}
Expand Down

0 comments on commit 96693d4

Please sign in to comment.