Browse Source

[master] Compilation fix for several platforms

Tomek Mrugalski 9 years ago
parent
commit
ddf2a902cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc

+ 1 - 1
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc

@@ -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());