Repository: mesos Updated Branches: refs/heads/master 4bf96153a -> 0a7d46634
Fixed compile errors on clang 3.9. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0a7d4663 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0a7d4663 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/0a7d4663 Branch: refs/heads/master Commit: 0a7d46634b0b6250856e0b4cec7c5fd9842b6f3e Parents: 4bf9615 Author: Jie Yu <[email protected]> Authored: Thu Dec 14 14:00:31 2017 -0800 Committer: Jie Yu <[email protected]> Committed: Thu Dec 14 14:00:43 2017 -0800 ---------------------------------------------------------------------- src/tests/storage_local_resource_provider_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/0a7d4663/src/tests/storage_local_resource_provider_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/storage_local_resource_provider_tests.cpp b/src/tests/storage_local_resource_provider_tests.cpp index a3bea31..1f11825 100644 --- a/src/tests/storage_local_resource_provider_tests.cpp +++ b/src/tests/storage_local_resource_provider_tests.cpp @@ -601,7 +601,7 @@ TEST_F(StorageLocalResourceProviderTest, ROOT_PreExistingVolume) } } - ASSERT_EQ(2, sources.size()); + ASSERT_EQ(2u, sources.size()); // Create a volume and a block. driver.acceptOffers( @@ -654,7 +654,7 @@ TEST_F(StorageLocalResourceProviderTest, ROOT_PreExistingVolume) } } - ASSERT_EQ(2, destroyed.size()); + ASSERT_EQ(2u, destroyed.size()); foreach (const Resource& resource, destroyed) { ASSERT_FALSE(resource.disk().source().has_mount());
