From 1125fd9cbe457641e6931b2411e93d829c4cb0bb Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Wed, 14 Jan 2015 02:42:15 +0100 Subject: Silenced GCC 4.9 warnings --- test/core/model/DomainTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/core/model/DomainTest.cpp') diff --git a/test/core/model/DomainTest.cpp b/test/core/model/DomainTest.cpp index d22c845..61de4c4 100644 --- a/test/core/model/DomainTest.cpp +++ b/test/core/model/DomainTest.cpp @@ -102,14 +102,14 @@ TEST(Descriptor, pathTo) Rooted section = getClass("section", domain); // get the path in between. std::vector> path = book->pathTo(section); - ASSERT_EQ(1, path.size()); + ASSERT_EQ(1U, path.size()); ASSERT_TRUE(path[0]->isa(RttiTypes::FieldDescriptor)); // get the text node. Rooted text = getClass("text", domain); // get the path between book and text via paragraph. path = book->pathTo(text); - ASSERT_EQ(3, path.size()); + ASSERT_EQ(3U, path.size()); ASSERT_TRUE(path[0]->isa(RttiTypes::FieldDescriptor)); ASSERT_TRUE(path[1]->isa(RttiTypes::StructuredClass)); ASSERT_EQ("paragraph", path[1]->getName()); @@ -120,7 +120,7 @@ TEST(Descriptor, pathTo) // try to get the path between book and subsection. path = book->pathTo(subsection); // this should be impossible. - ASSERT_EQ(0, path.size()); + ASSERT_EQ(0U, path.size()); } } } -- cgit v1.2.3