]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Compilation fix for several platforms
authorTomek Mrugalski <tomasz@isc.org>
Mon, 30 Nov 2015 21:51:47 +0000 (22:51 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Mon, 30 Nov 2015 21:51:47 +0000 (22:51 +0100)
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc

index 40bb94ace091a5f13df06b274ee0b28adde5031e..289a7917ec9a9b6e24857ef3533924f51969344c 100644 (file)
@@ -240,7 +240,7 @@ void GenericHostDataSourceTest::compareHosts(const ConstHostPtr& host1,
 
     // Now check that the identifiers returned as vectors are the same
     EXPECT_EQ(host1->getIdentifierType(), host2->getIdentifierType());
-    EXPECT_EQ(host1->getIdentifier(), host2->getIdentifier());
+    EXPECT_TRUE(host1->getIdentifier() == host2->getIdentifier());
 
     // Check host parameters
     EXPECT_EQ(host1->getIPv4SubnetID(), host2->getIPv4SubnetID());