Commit 779e145d authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[master] fix solaris issue

This patch from yesterday either disappear or never made it, anyway, recommiting jinmei's code (reviewed on jabber by, er, me)
parent 959dc163
......@@ -319,7 +319,9 @@ TEST_F(DatabaseClientTest, superZone) {
}
TEST_F(DatabaseClientTest, noAccessorException) {
EXPECT_THROW(DatabaseClient(shared_ptr<DatabaseAccessor>()),
// We need a dummy variable here; some compiler would regard it a mere
// declaration instead of an instantiation and make the test fail.
EXPECT_THROW(DatabaseClient dummy((shared_ptr<DatabaseAccessor>())),
isc::InvalidParameter);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment