2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[#2454] Compilation fix

This commit is contained in:
Tomek Mrugalski
2022-07-20 22:32:36 +02:00
parent acfae81f6d
commit 221595f147

View File

@@ -75,7 +75,7 @@ TEST(StdoutControlSocketTest, createControlSocket) {
"",
Url("http://127.0.0.1:8000/")));
ASSERT_TRUE(cfg);
ControlSocketBasePtr cs = createControlSocket(cfg);
ControlSocketBasePtr cs = controlSocketFactory(cfg);
ASSERT_TRUE(cs);
StdoutControlSocketPtr scs =
boost::dynamic_pointer_cast<StdoutControlSocket>(cs);
@@ -301,7 +301,7 @@ UnixControlSocketTest::reflectServer() {
TEST_F(UnixControlSocketTest, createControlSocket) {
CfgControlSocketPtr cfg = createCfgControlSocket();
ASSERT_TRUE(cfg);
ControlSocketBasePtr cs = createControlSocket(cfg);
ControlSocketBasePtr cs = controlSocketFactory(cfg);
ASSERT_TRUE(cs);
UnixControlSocketPtr ucs =
boost::dynamic_pointer_cast<UnixControlSocket>(cs);
@@ -627,7 +627,7 @@ HttpControlSocketTest::createReflectListener() {
TEST_F(HttpControlSocketTest, createControlSocket) {
CfgControlSocketPtr cfg = createCfgControlSocket();
ASSERT_TRUE(cfg);
ControlSocketBasePtr cs = createControlSocket(cfg);
ControlSocketBasePtr cs = controlSocketFactory(cfg);
ASSERT_TRUE(cs);
HttpControlSocketPtr hcs =
boost::dynamic_pointer_cast<HttpControlSocket>(cs);