face: minor code cleanups
Change-Id: I154d2ad4dfd9e12e1fa9756f74884286b31298e4
diff --git a/tests/daemon/face/tcp-transport-fixture.hpp b/tests/daemon/face/tcp-transport-fixture.hpp
index 1d1d5ac..01114e1 100644
--- a/tests/daemon/face/tcp-transport-fixture.hpp
+++ b/tests/daemon/face/tcp-transport-fixture.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2022, Regents of the University of California,
+ * Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -48,7 +48,7 @@
{
BOOST_REQUIRE(!acceptor.is_open());
acceptor.open(remoteEp.protocol());
- acceptor.set_option(tcp::acceptor::reuse_address(true));
+ acceptor.set_option(boost::asio::socket_base::reuse_address(true));
acceptor.bind(remoteEp);
acceptor.listen(1);
acceptor.async_accept(remoteSocket, [this] (const boost::system::error_code& error) {
diff --git a/tests/daemon/face/unicast-udp-transport-fixture.hpp b/tests/daemon/face/unicast-udp-transport-fixture.hpp
index 7ec4896..24d7e26 100644
--- a/tests/daemon/face/unicast-udp-transport-fixture.hpp
+++ b/tests/daemon/face/unicast-udp-transport-fixture.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2022, Regents of the University of California,
+ * Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -66,7 +66,7 @@
{
udp::endpoint remoteEp(address, 7070);
remoteSocket.open(remoteEp.protocol());
- remoteSocket.set_option(udp::socket::reuse_address(true));
+ remoteSocket.set_option(boost::asio::socket_base::reuse_address(true));
remoteSocket.bind(remoteEp);
remoteSocket.connect(localEp);
}